summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nfs/molecule/default/molecule.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/nfs/molecule/default/molecule.yml')
-rw-r--r--ansible/roles/nfs/molecule/default/molecule.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/nfs/molecule/default/molecule.yml b/ansible/roles/nfs/molecule/default/molecule.yml
index 71e08d03..f6610ece 100644
--- a/ansible/roles/nfs/molecule/default/molecule.yml
+++ b/ansible/roles/nfs/molecule/default/molecule.yml
@@ -14,6 +14,7 @@ platforms:
groups:
- kubernetes
- nfs-server
+ purge_networks: true
networks:
- name: nfs-net
volumes:
@@ -27,15 +28,21 @@ platforms:
command: ${MOLECULE_DOCKER_COMMAND:-""}
groups:
- kubernetes
+ purge_networks: true
networks:
- name: nfs-net
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
provisioner:
name: ansible
+ playbooks:
+ cleanup: cleanup.yml
+ env:
+ ANSIBLE_ROLES_PATH: "../../../../test/roles"
inventory:
links:
group_vars: ../../../../group_vars
+ host_vars: host_vars
lint:
name: ansible-lint
verifier: