From: Dimitri Savineau Date: Wed, 21 Jul 2021 20:54:57 +0000 (-0400) Subject: ceph-volume/tests: set ANSIBLE_CONFIG env var X-Git-Tag: v16.2.6~123^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=edb4d76d6ab2b78f591bee35acb982b07f83f110;p=ceph.git ceph-volume/tests: set ANSIBLE_CONFIG env var Without loading the ansible.cfg file from ceph-ansible project, we don't have the pipelining enabled which can result in significant performance improvement. This removes the ANSIBLE_ACTION_PLUGINS, ANSIBLE_RETRY_FILES_ENABLED and ANSIBLE_SSH_RETRIES environment variables as it is already included in the ansible.cfg file. Signed-off-by: Dimitri Savineau (cherry picked from commit b758fdd829e3b4d7b790e6d35a02c97f3962d13e) --- diff --git a/src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini b/src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini index 34b9af0f2993..761339b0c48f 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini +++ b/src/ceph-volume/ceph_volume/tests/functional/batch/tox.ini @@ -12,11 +12,9 @@ whitelist_externals = sleep passenv=* setenv= + ANSIBLE_CONFIG = {envdir}/tmp/ceph-ansible/ansible.cfg ANSIBLE_SSH_ARGS = -F {changedir}/vagrant_ssh_config -o ControlMaster=auto -o ControlPersist=600s -o PreferredAuthentications=publickey - ANSIBLE_ACTION_PLUGINS = {envdir}/tmp/ceph-ansible/plugins/actions ANSIBLE_STDOUT_CALLBACK = debug - ANSIBLE_RETRY_FILES_ENABLED = False - ANSIBLE_SSH_RETRIES = 5 VAGRANT_CWD = {changedir} CEPH_VOLUME_DEBUG = 1 DEBIAN_FRONTEND=noninteractive diff --git a/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini b/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini index df6d6606a855..4cf6387832c8 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini +++ b/src/ceph-volume/ceph_volume/tests/functional/lvm/tox.ini @@ -12,11 +12,9 @@ whitelist_externals = sleep passenv=* setenv= + ANSIBLE_CONFIG = {envdir}/tmp/ceph-ansible/ansible.cfg ANSIBLE_SSH_ARGS = -F {changedir}/vagrant_ssh_config -o ControlMaster=auto -o ControlPersist=600s -o PreferredAuthentications=publickey - ANSIBLE_ACTION_PLUGINS = {envdir}/tmp/ceph-ansible/plugins/actions ANSIBLE_STDOUT_CALLBACK = debug - ANSIBLE_RETRY_FILES_ENABLED = False - ANSIBLE_SSH_RETRIES = 5 VAGRANT_CWD = {changedir} CEPH_VOLUME_DEBUG = 1 DEBIAN_FRONTEND=noninteractive diff --git a/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini b/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini index 798b45c24890..7c106ccbe776 100644 --- a/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini +++ b/src/ceph-volume/ceph_volume/tests/functional/simple/tox.ini @@ -12,11 +12,9 @@ whitelist_externals = cp passenv=* setenv= + ANSIBLE_CONFIG = {envdir}/tmp/ceph-ansible/ansible.cfg ANSIBLE_SSH_ARGS = -F {changedir}/vagrant_ssh_config -o ControlMaster=auto -o ControlPersist=600s -o PreferredAuthentications=publickey - ANSIBLE_ACTION_PLUGINS = {envdir}/tmp/ceph-ansible/plugins/actions ANSIBLE_STDOUT_CALLBACK = debug - ANSIBLE_RETRY_FILES_ENABLED = False - ANSIBLE_SSH_RETRIES = 5 VAGRANT_CWD = {changedir} CEPH_VOLUME_DEBUG = 1 DEBIAN_FRONTEND=noninteractive