]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: make CI jobs using 'ansible.cfg'
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 26 Feb 2018 13:35:36 +0000 (14:35 +0100)
committerSébastien Han <seb@redhat.com>
Wed, 28 Feb 2018 19:17:12 +0000 (20:17 +0100)
The jobs launches by the CI are not using 'ansible.cfg'.
There are some parameters that should avoid SSH failure that we are used
to see in the CI so far.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 1e283bf69be8b9efbc1a7a873d91212ad57c7351)
Signed-off-by: Sébastien Han <seb@redhat.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 9c004648e3c7866d4dd90d53d1decab0a1311791..96a9511f23927abfa3e9a000887be4ce912b5883 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -122,6 +122,7 @@ passenv=*
 sitepackages=True
 setenv=
   ANSIBLE_SSH_ARGS = -F {changedir}/vagrant_ssh_config
+  ANSIBLE_CONFIG = -F {toxinidir}/ansible.cfg
   ANSIBLE_ACTION_PLUGINS = {toxinidir}/plugins/actions
   # only available for ansible >= 2.2
   ANSIBLE_STDOUT_CALLBACK = debug