mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user