From 78e7f22caa79a19ecfed9d4e378bd0d261a93a11 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Fri, 15 Apr 2022 11:50:27 +0200 Subject: [PATCH] Replace include for newer ansible version In order to pass functional tests on newer ansible we need to replace dropped inlcude with proper import_playbook module. Change-Id: I2bf9ca6003b66d5f7b8be9d7b54e12cb9b56f3c6 --- tests/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.yml b/tests/test.yml index e398192..d36d5d5 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -14,9 +14,9 @@ # limitations under the License. # Setup the host -- include: common/test-prepare-keys.yml +- import_playbook: common/test-prepare-keys.yml -- include: common/test-prepare-host.yml +- import_playbook: common/test-prepare-host.yml # Temporary work around for issue with lxc_host where on second run after # all iptables rules have been removed, the lxc_host role is not checking @@ -35,7 +35,7 @@ command: /usr/local/bin/lxc-system-manage iptables-create when: do_not_fail_lint -- include: common/test-prepare-containers.yml +- import_playbook: common/test-prepare-containers.yml - name: Test config_template hosts: localhost:container1