diff options
author | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-06-07 13:35:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-06-07 13:35:57 +0000 |
commit | e910a0b67efcf06bcba81bc9acaa3052e7e399f4 (patch) | |
tree | 5b5927c209f456fab6d31721ef1edc06af8c04ec /ansible | |
parent | 3ef63f580a6fcf697c4f28ca55f27239f564dc53 (diff) | |
parent | 327223fdf32d20d54fc2d64feca200c1259f0d3f (diff) |
Merge "Add cleanup stage to 'nginx' role test"
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/roles/nginx/molecule/default/cleanup.yml | 6 | ||||
-rw-r--r-- | ansible/test/play-infrastructure/molecule/default/cleanup.yml | 6 | ||||
-rw-r--r-- | ansible/test/roles/cleanup-nginx/tasks/main.yml | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/ansible/roles/nginx/molecule/default/cleanup.yml b/ansible/roles/nginx/molecule/default/cleanup.yml new file mode 100644 index 00000000..9870a553 --- /dev/null +++ b/ansible/roles/nginx/molecule/default/cleanup.yml @@ -0,0 +1,6 @@ +--- +- name: Cleanup + hosts: all + ignore_unreachable: true + roles: + - cleanup-nginx diff --git a/ansible/test/play-infrastructure/molecule/default/cleanup.yml b/ansible/test/play-infrastructure/molecule/default/cleanup.yml new file mode 100644 index 00000000..9870a553 --- /dev/null +++ b/ansible/test/play-infrastructure/molecule/default/cleanup.yml @@ -0,0 +1,6 @@ +--- +- name: Cleanup + hosts: all + ignore_unreachable: true + roles: + - cleanup-nginx diff --git a/ansible/test/roles/cleanup-nginx/tasks/main.yml b/ansible/test/roles/cleanup-nginx/tasks/main.yml new file mode 100644 index 00000000..94517519 --- /dev/null +++ b/ansible/test/roles/cleanup-nginx/tasks/main.yml @@ -0,0 +1,6 @@ +--- +- name: Remove saved nginx docker image + delegate_to: localhost + file: + path: /tmp/nginx.tar + state: absent |