Make sure ansible is not run without a defined playbook.
This commit is contained in:
parent
829b8b4d3b
commit
b413e944ce
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@
|
|||
echo "{{ sshpubkey }}" >> /target/home/ansible/.ssh/authorized_keys ; \
|
||||
in-target chown -R ansible:ansible /home/ansible/.ssh/ ; \
|
||||
in-target chmod -R og= /home/ansible/.ssh/ ; \
|
||||
in-target ansible-pull --verbose --purge --extra-vars="run_in_installer=true" \
|
||||
[ -z "$playbook" ] || in-target ansible-pull --verbose --purge --extra-vars="run_in_installer=true" \
|
||||
-i localhost, --url=git://{{ ansible_hostname }}/.git $playbook
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK preseed/late_command"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue