From 502dd769b2ff41cfb1e9e82b8c8c99e46f23d4d3 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 1 Aug 2015 00:29:51 +0200 Subject: [PATCH] Passing any other argument from the script to ansible-pull. --- roles/ansible-pull/templates/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ansible-pull/templates/run.sh b/roles/ansible-pull/templates/run.sh index 3f271ca..11a1c35 100644 --- a/roles/ansible-pull/templates/run.sh +++ b/roles/ansible-pull/templates/run.sh @@ -12,5 +12,5 @@ playbook=local.yml vaultpassfile=$(/var/lib/{{ ansible_local.domain.domainfull }}/bin/getvaultpass.py) -ansible-pull --accept-host-key -d "${repo}" -U "${url}" -C "${branch}" "${playbook}" --vault-password-file "${vaultpassfile}" +ansible-pull --accept-host-key -d "${repo}" -U "${url}" -C "${branch}" "${playbook}" --vault-password-file "${vaultpassfile}" $@ rm -f "${vaultpassfile}"