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: I2351c93c2ce5beb44404dc05b487f40e14973810
This commit is contained in:
parent
b832b8a7c6
commit
d21b6809e9
@ -35,20 +35,20 @@
|
||||
tags:
|
||||
- always
|
||||
|
||||
- include: trove_pre_install.yml
|
||||
- include_tasks: trove_pre_install.yml
|
||||
tags:
|
||||
- trove-install
|
||||
|
||||
- include: trove_install.yml
|
||||
- include_tasks: trove_install.yml
|
||||
tags:
|
||||
- trove-install
|
||||
|
||||
- include: trove_service_network.yml
|
||||
- include_tasks: trove_service_network.yml
|
||||
tags:
|
||||
- trove-install
|
||||
- trove-config
|
||||
|
||||
- include: trove_post_install.yml
|
||||
- include_tasks: trove_post_install.yml
|
||||
tags:
|
||||
- trove-install
|
||||
- trove-config
|
||||
@ -81,7 +81,7 @@
|
||||
- trove-config
|
||||
- systemd-service
|
||||
|
||||
- include: trove_service_setup.yml
|
||||
- include_tasks: trove_service_setup.yml
|
||||
when: inventory_hostname == groups['trove_api'][0]
|
||||
tags:
|
||||
- trove-install
|
||||
@ -105,13 +105,12 @@
|
||||
- common-mq
|
||||
- trove-config
|
||||
|
||||
- include: trove_db_setup.yml
|
||||
- include_tasks: trove_db_setup.yml
|
||||
when: inventory_hostname == groups['trove_conductor'][0]
|
||||
tags:
|
||||
- trove-install
|
||||
|
||||
- include: trove_apache.yml
|
||||
static: no
|
||||
- include_tasks: trove_apache.yml
|
||||
when: trove_use_mod_wsgi | bool
|
||||
tags:
|
||||
- trove-install
|
||||
|
@ -17,16 +17,16 @@
|
||||
# (c) 2016 Paul Stevens <paul.stevens@is.co.za>
|
||||
|
||||
# Setup the host
|
||||
- include: common/test-setup-host.yml
|
||||
- import_playbook: common/test-setup-host.yml
|
||||
|
||||
# Install RabbitMQ/MariaDB
|
||||
- include: common/test-install-infra.yml
|
||||
- import_playbook: common/test-install-infra.yml
|
||||
|
||||
# Install keystone
|
||||
- include: common/test-install-keystone.yml
|
||||
- import_playbook: common/test-install-keystone.yml
|
||||
|
||||
# Install trove
|
||||
- include: test-install-trove.yml
|
||||
- import_playbook: test-install-trove.yml
|
||||
|
||||
# Install and execute Tempest
|
||||
- include: common/test-install-tempest.yml
|
||||
- import_playbook: common/test-install-tempest.yml
|
||||
|
Loading…
Reference in New Issue
Block a user