summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-06-19 16:43:30 +0530
committerValerii Ponomarov <vponomar@redhat.com>2019-06-19 16:44:48 +0530
commit2f3445b5fcb48f257950e3380ca22cf3e26abc4a (patch)
tree74860d438c1edaa26f31aa9276195f8653cc051e
parentffdc9f4ea59131de97f8c41784ee6c79d654662f (diff)
[Deployment] Create ~/.ssh/config file if absent
Ansible will use this file and fail if it is absent. So, create empty SSH config file if it is absent. Change-Id: I86f424c30229e72eaf2e6a50a194988d5d6ac528
-rw-r--r--deployment/tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/deployment/tox.ini b/deployment/tox.ini
index ea990c8f..cd44bacf 100644
--- a/deployment/tox.ini
+++ b/deployment/tox.ini
@@ -30,6 +30,7 @@ setenv =
ANSIBLE_SSH_ARGS="-C -o ControlMaster=auto -o ControlPersist=60s -F {homedir}/.ssh/config"
whitelist_externals = *
commands =
+ touch {homedir}/.ssh/config
python -m pip install --upgrade pip>=9.0.0 setuptools wheel
pip install \
cryptography \