diff options
-rw-r--r-- | resources/libraries/bash/function/ansible.sh | 8 |
1 files changed, 6 insertions, 2 deletions
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 \ |