Use the original playbook in play-resources tests 75/89375/1
authorMichal Zegan <m.zegan@samsung.com>
Wed, 5 Jun 2019 13:45:55 +0000 (15:45 +0200)
committerMichal Zegan <m.zegan@samsung.com>
Wed, 5 Jun 2019 13:45:55 +0000 (15:45 +0200)
commitbd8e91fce87ac6b10e1e9ed3781820aa81884b44
treeb01ca41bea0dedc40464d54ae5f7a8d6f171d1ed
parentd3cb6429d6d3cdcd625906e702140a51fc146847
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 <m.zegan@samsung.com>
ansible/test/play-resources/molecule/default/playbook.yml
ansible/test/play-resources/molecule/default/prepare.yml
ansible/test/play-resources/molecule/default/vars.yml [moved from ansible/test/play-resources/molecule/default/group_vars/all.yml with 87% similarity]
ansible/test/play-resources/molecule/nfs/molecule.yml
ansible/test/play-resources/molecule/nfs/playbook.yml
ansible/test/play-resources/molecule/nfs/prepare.yml
ansible/test/play-resources/molecule/nfs/vars.yml [new file with mode: 0644]