summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-04-19 15:45:26 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-19 15:45:26 +0000
commite11f4703cec659b1966c306373bf31b5088c64ac (patch)
tree4cadb1a9db89d1f83161b91b13aff9ccf7be0f0a /ansible
parent8fa8e04dddee9254f9044bfb0b2763e33e0bdee4 (diff)
parent96a4bafa0f159f14bcbe6743b1a98ea76e7bef21 (diff)
Merge "Sanitize Molecule code for 'nfs' role"
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/nfs/molecule/default/cleanup.yml3
-rw-r--r--ansible/roles/nfs/molecule/default/molecule.yml2
2 files changed, 1 insertions, 4 deletions
diff --git a/ansible/roles/nfs/molecule/default/cleanup.yml b/ansible/roles/nfs/molecule/default/cleanup.yml
index a085bd5a..af47ed82 100644
--- a/ansible/roles/nfs/molecule/default/cleanup.yml
+++ b/ansible/roles/nfs/molecule/default/cleanup.yml
@@ -1,6 +1,5 @@
---
- name: Cleanup
- hosts: all
- ignore_unreachable: true
+ hosts: all:!nfs-server
roles:
- cleanup-nfs
diff --git a/ansible/roles/nfs/molecule/default/molecule.yml b/ansible/roles/nfs/molecule/default/molecule.yml
index f6610ece..7bacf3c4 100644
--- a/ansible/roles/nfs/molecule/default/molecule.yml
+++ b/ansible/roles/nfs/molecule/default/molecule.yml
@@ -35,8 +35,6 @@ platforms:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
provisioner:
name: ansible
- playbooks:
- cleanup: cleanup.yml
env:
ANSIBLE_ROLES_PATH: "../../../../test/roles"
inventory: