From a427089ea8e5d854cd6b78a0958ec0c01a7b4e04 Mon Sep 17 00:00:00 2001 From: ZhijunWei Date: Sun, 19 Aug 2018 12:29:29 -0400 Subject: [PATCH] use import_playbook 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: I87fa723334745680efd87743ac936815df664c4d Closes-Bug: #1792761 --- tests/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test.yml b/tests/test.yml index 89905f09..2a813a18 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -13,21 +13,21 @@ # See the License for the specific language governing permissions and # limitations under the License. -- include: test-create-nfs-dev.yml +- import_playbook: test-create-nfs-dev.yml when: - test_deploy_nfs | default(false) | bool # 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 Glance -- include: common/test-install-glance.yml +- import_playbook: common/test-install-glance.yml # Install and execute Tempest -- include: common/test-install-tempest.yml +- import_playbook: common/test-install-tempest.yml