From bd8e91fce87ac6b10e1e9ed3781820aa81884b44 Mon Sep 17 00:00:00 2001 From: Michal Zegan Date: Wed, 5 Jun 2019 15:45:55 +0200 Subject: Use the original playbook in play-resources tests This commit includes the original resources.yml playbook by using import_playbook. Some modifications were needed mostly because of the way import_playbook works. Also moved the setup role call to prepare. Change-Id: I8745d5e43fd2050d47970c7d19bbbc4db8a5847f Issue-ID: OOM-1912 Signed-off-by: Michal Zegan --- ansible/test/play-resources/molecule/default/playbook.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ansible/test/play-resources/molecule/default/playbook.yml') diff --git a/ansible/test/play-resources/molecule/default/playbook.yml b/ansible/test/play-resources/molecule/default/playbook.yml index 50ba233a..096077a2 100644 --- a/ansible/test/play-resources/molecule/default/playbook.yml +++ b/ansible/test/play-resources/molecule/default/playbook.yml @@ -1,6 +1,8 @@ --- -- name: Test resource transfer with ssh +- name: Initialize hosts: all - roles: - - setup - - resource-data + tasks: + - name: Include variables + include_vars: vars.yml + +- import_playbook: ../../../../resources.yml -- cgit 1.2.3-korg