batcave: adjust playbook to avoid import_playbook deprecating passing vars directly
Hopefully this will fix: [DEPRECATION WARNING]: Additional parameters in import_playbook statements are deprecated. Use 'vars' instead. See 'import_playbook' documentation for examples. This feature will be removed in version 2.14. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
b43fba8103
commit
d0dc61ae47
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=batcave"
|
||||
- import_playbook: "{{ ansible_base }}/ansible/playbooks/include/virt-create.yml"
|
||||
vars:
|
||||
myhosts: batcave
|
||||
|
||||
- name: make the box be real
|
||||
hosts: batcave
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue