Cleaning up of nfs mounts should only happen
on clients, not on server itself.
Explicit declaration of 'cleanup' stage playbook
not needed as it's in the default location.
Change-Id: I54e00220048f01160c15fc9631ae62586596114c
Issue-ID: OOM-1809
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
---
- name: Cleanup
- hosts: all
- ignore_unreachable: true
+ hosts: all:!nfs-server
roles:
- cleanup-nfs
- /sys/fs/cgroup:/sys/fs/cgroup:ro
provisioner:
name: ansible
- playbooks:
- cleanup: cleanup.yml
env:
ANSIBLE_ROLES_PATH: "../../../../test/roles"
inventory: