diff options
author | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-03-22 09:33:05 +0200 |
---|---|---|
committer | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-04-16 08:19:10 +0300 |
commit | 9367c59e3cfda457fce7494a1ec065c7aa80853b (patch) | |
tree | fccbe9e6cc115476571442b97fecb383bc2b2b88 /ansible/test/roles/prepare-resource-data/tasks/main.yml | |
parent | 52eb50721e990e277ed8729225faff305dee11da (diff) |
Molecule tests for resource-data role
Initial molecule tests. Tests now ssh transfer but
test files fully supports also testing nfs transfer.
Creating nfs transfer as separate scenario later when
find out better ways to share common code.
Issue-ID: OOM-1754
Change-Id: Ia728ecfed4378c01f7e305d5a4446b0172fe42d9
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Diffstat (limited to 'ansible/test/roles/prepare-resource-data/tasks/main.yml')
-rw-r--r-- | ansible/test/roles/prepare-resource-data/tasks/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/test/roles/prepare-resource-data/tasks/main.yml b/ansible/test/roles/prepare-resource-data/tasks/main.yml new file mode 100644 index 00000000..5a020882 --- /dev/null +++ b/ansible/test/roles/prepare-resource-data/tasks/main.yml @@ -0,0 +1,8 @@ +--- +- include_tasks: prepare-resource-server.yml + vars: + subdir: somedir + when: inventory_hostname in groups.resources + +- include_tasks: prepare-infra-server.yml + when: inventory_hostname in groups.infrastructure |