Samuli Silvius | bb3bef8 | 2019-04-04 08:22:08 +0300 | [diff] [blame^] | 1 | --- |
2 | - name: Cleanup host | ||||
3 | hosts: localhost | ||||
4 | roles: | ||||
5 | - role: cleanup-containers | ||||
6 | vars: | ||||
7 | container_list: | ||||
8 | - rancher-agent | ||||
9 | - rancher-server | ||||
10 | # For some reason getting error "Device busy error" when trying to delete directory with root privileges and rancher-containers not anymore running. | ||||
11 | # - role: cleanup-directories | ||||
12 | # vars: | ||||
13 | # directories_files_list_to_remove: | ||||
14 | # - /var/lib/rancher/ |