X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fansible.sh;h=1263412dd51ca6acab9eecce2bf563ca6c9c365f;hb=91ff7a3f99ecb6e1e849bb9ee0b58b22d0be0b5a;hp=56665dfa1c59e2e5d390c83da6d8df0cbef2b407;hpb=2cf0755933dac3e95c10928347996bad3cbe0a42;p=csit.git diff --git a/resources/libraries/bash/function/ansible.sh b/resources/libraries/bash/function/ansible.sh index 56665dfa1c..1263412dd5 100644 --- a/resources/libraries/bash/function/ansible.sh +++ b/resources/libraries/bash/function/ansible.sh @@ -34,7 +34,9 @@ function ansible_adhoc () { die "Failed to read hosts from working topology!" } pushd "${TOOLS_DIR}"/testbed-setup/ansible || die "Pushd failed!" - ANSIBLE_STDOUT_CALLBACK=yaml ansible \ + ANSIBLE_STDOUT_CALLBACK=yaml \ + ANSIBLE_PIPELINING=true \ + ansible \ --vault-password-file=vault_pass \ --extra-vars '@vault.yml' \ --inventory inventories/lf_inventory/hosts site.yaml \ @@ -63,7 +65,9 @@ function ansible_playbook () { die "Failed to read hosts from working topology!" } pushd "${TOOLS_DIR}"/testbed-setup/ansible || die "Pushd failed!" - ANSIBLE_STDOUT_CALLBACK=yaml ansible-playbook \ + ANSIBLE_STDOUT_CALLBACK=yaml \ + ANSIBLE_PIPELINING=true \ + ansible-playbook \ --vault-password-file=vault_pass \ --extra-vars '@vault.yml' \ --inventory inventories/lf_inventory/hosts site.yaml \