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}"