Passing any other argument from the script to ansible-pull.

This commit is contained in:
Emiliano Vavassori 2015-08-01 00:29:51 +02:00
parent ca68419cf7
commit 502dd769b2
1 changed files with 1 additions and 1 deletions

View File

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