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: I283ed3badf57e8ad66de3e49b5ae3d3ab411d54c
Closes-Bug: #1792761
This commit is contained in:
ZhijunWei 2018-08-19 12:37:40 -04:00
parent 55d8783b99
commit df9ae131a7

View File

@ -14,25 +14,25 @@
# limitations under the License. # limitations under the License.
# Prepare the user ssh keys # Prepare the user ssh keys
- include: common/test-prepare-keys.yml - import_playbook: common/test-prepare-keys.yml
# Prepare the host # Prepare the host
- include: common/test-prepare-host.yml - import_playbook: common/test-prepare-host.yml
# Prepare the containers # Prepare the containers
- include: common/test-prepare-containers.yml - import_playbook: common/test-prepare-containers.yml
# Install haproxy # Install haproxy
- include: common/test-install-haproxy.yml - import_playbook: common/test-install-haproxy.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
# Install and execute Tempest # Install and execute Tempest
- include: common/test-install-tempest.yml - import_playbook: common/test-install-tempest.yml
# Test Keystone # Test Keystone
- include: test-keystone-functional.yml - import_playbook: test-keystone-functional.yml