Passing any other argument from the script to ansible-pull.
This commit is contained in:
parent
ca68419cf7
commit
502dd769b2
@ -12,5 +12,5 @@ playbook=local.yml
|
|||||||
|
|
||||||
vaultpassfile=$(/var/lib/{{ ansible_local.domain.domainfull }}/bin/getvaultpass.py)
|
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}"
|
rm -f "${vaultpassfile}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user