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
This commit is contained in:
Dmitriy Rabotyagov 2022-04-15 11:50:27 +02:00
parent 5070371edd
commit 78e7f22caa

View File

@ -14,9 +14,9 @@
# limitations under the License. # limitations under the License.
# Setup the host # 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 # 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 # 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 command: /usr/local/bin/lxc-system-manage iptables-create
when: do_not_fail_lint when: do_not_fail_lint
- include: common/test-prepare-containers.yml - import_playbook: common/test-prepare-containers.yml
- name: Test config_template - name: Test config_template
hosts: localhost:container1 hosts: localhost:container1