use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0] Switch to include_tasks or import_playbook as necessary [0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated Change-Id: Ib5787752cdfae9147968289f2f02026b499b765e
This commit is contained in:
parent
8b90e038e9
commit
211e765512
|
@ -36,13 +36,13 @@
|
|||
- "'idempotence' not in lookup('env', 'ANSIBLE_LOG_PATH')"
|
||||
|
||||
# Prepare the user ssh keys
|
||||
- include: common/test-prepare-keys.yml
|
||||
- import_playbook: common/test-prepare-keys.yml
|
||||
|
||||
# Set nodepool variables when running in the OpenStack CI environment
|
||||
- include: common/setting-nodepool-variables.yml
|
||||
- import_playbook: common/setting-nodepool-variables.yml
|
||||
|
||||
# Execute the role
|
||||
- include: common/test-install-openstack-hosts.yml
|
||||
- import_playbook: common/test-install-openstack-hosts.yml
|
||||
|
||||
- name: Playbook for role testing
|
||||
hosts: localhost
|
||||
|
|
Loading…
Reference in New Issue