From df9ae131a7a2846005c9e4f18106506c8b210794 Mon Sep 17 00:00:00 2001 From: ZhijunWei Date: Sun, 19 Aug 2018 12:37:40 -0400 Subject: [PATCH] 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 --- tests/test.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/test.yml b/tests/test.yml index cb269c19..6f56e532 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -14,25 +14,25 @@ # limitations under the License. # Prepare the user ssh keys -- include: common/test-prepare-keys.yml +- import_playbook: common/test-prepare-keys.yml # Prepare the host -- include: common/test-prepare-host.yml +- import_playbook: common/test-prepare-host.yml # Prepare the containers -- include: common/test-prepare-containers.yml +- import_playbook: common/test-prepare-containers.yml # Install haproxy -- include: common/test-install-haproxy.yml +- import_playbook: common/test-install-haproxy.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 and execute Tempest -- include: common/test-install-tempest.yml +- import_playbook: common/test-install-tempest.yml # Test Keystone -- include: test-keystone-functional.yml +- import_playbook: test-keystone-functional.yml