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: I3c341295715f974a30eed72c0a1c2f2fdcdf8bb3
This commit is contained in:
parent
8dc7a12dc7
commit
0dbe839d49
|
@ -26,15 +26,15 @@
|
|||
tags:
|
||||
- always
|
||||
|
||||
- include: blazar_pre_install.yml
|
||||
- include_tasks: blazar_pre_install.yml
|
||||
tags:
|
||||
- blazar-install
|
||||
|
||||
- include: blazar_install.yml
|
||||
- include_tasks: blazar_install.yml
|
||||
tags:
|
||||
- blazar-install
|
||||
|
||||
- include: blazar_post_install.yml
|
||||
- include_tasks: blazar_post_install.yml
|
||||
tags:
|
||||
- blazar-config
|
||||
|
||||
|
@ -66,13 +66,13 @@
|
|||
- blazar-config
|
||||
- systemd-service
|
||||
|
||||
- include: blazar_db_setup.yml
|
||||
- include_tasks: blazar_db_setup.yml
|
||||
when:
|
||||
- "inventory_hostname == ((groups['blazar']| intersect(ansible_play_hosts)) | list)[0]"
|
||||
tags:
|
||||
- blazar-config
|
||||
|
||||
- include: blazar_service_setup.yml
|
||||
- include_tasks: blazar_service_setup.yml
|
||||
when:
|
||||
- "inventory_hostname == ((groups['blazar']| intersect(ansible_play_hosts)) | list)[0]"
|
||||
tags:
|
||||
|
|
|
@ -14,16 +14,16 @@
|
|||
# limitations under the License.
|
||||
|
||||
# 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 Blazar Installation
|
||||
- include: test-install-blazar.yml
|
||||
- import_playbook: test-install-blazar.yml
|
||||
|
||||
# Test Blazar Functional
|
||||
- include: test-blazar-functional.yml
|
||||
- import_playbook: test-blazar-functional.yml
|
||||
|
|
Loading…
Reference in New Issue