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: I0297ca2a66b3344cfc20a1adf81b71339174a205
This commit is contained in:
parent
9c324c3da8
commit
15c0163b1e
@ -39,11 +39,11 @@
|
|||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
- include: cloudkitty_pre_install.yml
|
- include_tasks: cloudkitty_pre_install.yml
|
||||||
- include: cloudkitty_install.yml
|
- include_tasks: cloudkitty_install.yml
|
||||||
- include: cloudkitty_post_install.yml
|
- include_tasks: cloudkitty_post_install.yml
|
||||||
|
|
||||||
- include: cloudkitty_service_setup.yml
|
- include_tasks: cloudkitty_service_setup.yml
|
||||||
when: inventory_hostname == groups['cloudkitty_all'][0]
|
when: inventory_hostname == groups['cloudkitty_all'][0]
|
||||||
|
|
||||||
- import_tasks: mq_setup.yml
|
- import_tasks: mq_setup.yml
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Setup the host
|
# Setup the host
|
||||||
- include: common/test-setup-host.yml
|
- import_playbook: common/test-setup-host.yml
|
||||||
|
|
||||||
# Install RabbitMQ/MariaDB
|
# Install RabbitMQ/MariaDB
|
||||||
- include: common/test-install-infra.yml
|
- import_playbook: common/test-install-infra.yml
|
||||||
|
|
||||||
# Install Keystone
|
# Install Keystone
|
||||||
- include: common/test-install-keystone.yml
|
- import_playbook: common/test-install-keystone.yml
|
||||||
|
|
||||||
- include: test-install-cloudkitty.yml
|
- import_playbook: test-install-cloudkitty.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user