kolla-ansible/ansible/roles/destroy/tasks/cleanup_host.yml
jeckxie 4bb722b440 Remove /etc/fstab Swift references during cleanup-host
During cleanup-host, we need remove swift references from fstab.

Change-Id: I18e9a84b0664eb834cf397bcf6d2406abcab47a7
Closes-Bug: #1689285
2017-05-08 19:24:23 +08:00

14 lines
423 B
YAML

---
- name: Destroying Kolla host configuration
command: >
env enable_haproxy={{ enable_haproxy }}
enable_swift={{ enable_swift }}
kolla_internal_vip_address={{ kolla_internal_vip_address }}
kolla_external_vip_address={{ kolla_external_vip_address }}
/tmp/kolla-cleanup/tools/cleanup-host
- name: Destroying kolla-cleanup folder
file:
path: /tmp/kolla-cleanup
state: absent