diff options
author | 2019-04-04 08:22:08 +0300 | |
---|---|---|
committer | 2019-04-17 09:30:59 +0300 | |
commit | bb3bef83ca562b9aadc288b3ec46264d73ec73ac (patch) | |
tree | 269f5624b39b14cfe249099df11f962147967d0e /ansible/roles/rancher/molecule/default/cleanup.yml | |
parent | cceed25e6c773c18e479e246ddeadebc82870f70 (diff) |
Molecule tests for rancher role
Issue-ID: OOM-1775
Change-Id: I6ea11db932cd77e03909e4c72acc4b92a544eb4b
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Diffstat (limited to 'ansible/roles/rancher/molecule/default/cleanup.yml')
-rw-r--r-- | ansible/roles/rancher/molecule/default/cleanup.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ansible/roles/rancher/molecule/default/cleanup.yml b/ansible/roles/rancher/molecule/default/cleanup.yml new file mode 100644 index 00000000..13b48278 --- /dev/null +++ b/ansible/roles/rancher/molecule/default/cleanup.yml @@ -0,0 +1,14 @@ +--- +- name: Cleanup host + hosts: localhost + roles: + - role: cleanup-containers + vars: + container_list: + - rancher-agent + - rancher-server + # For some reason getting error "Device busy error" when trying to delete directory with root privileges and rancher-containers not anymore running. + # - role: cleanup-directories + # vars: + # directories_files_list_to_remove: + # - /var/lib/rancher/ |