blob: 96389564f28b1f510f050af2ff620d4305840aec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
---
- name: Destroying Kolla host configuration
become: true
script: ../tools/cleanup-host
environment:
enable_haproxy: "{{ enable_haproxy }}"
glance_file_datadir_volume: "{{ glance_file_datadir_volume }}"
nova_instance_datadir_volume: "{{ nova_instance_datadir_volume }}"
gnocchi_metric_datadir_volume: "{{ gnocchi_metric_datadir_volume }}"
influxdb_datadir_volume: "{{ influxdb_datadir_volume }}"
kolla_internal_vip_address: "{{ kolla_internal_vip_address }}"
kolla_external_vip_address: "{{ kolla_external_vip_address }}"
kolla_dev_repos_directory: "{{ kolla_dev_repos_directory }}"
opensearch_datadir_volume: "{{ opensearch_datadir_volume }}"
destroy_include_dev: "{{ destroy_include_dev }}"
kolla_ansible_inventories: "{{ ansible_inventory_sources | join(' ') }}"
- block:
- name: Disable octavia-interface service
service:
name: octavia-interface
enabled: no
state: stopped
failed_when: false
- name: Remove octavia-interface service file
file:
path: /etc/systemd/system/octavia-interface.service
state: absent
- name: Remove dhclient.conf
file:
path: /etc/dhcp/octavia-dhclient.conf
state: absent
when:
- enable_octavia | bool
- octavia_auto_configure | bool
- octavia_network_type == 'tenant'
- inventory_hostname in groups['octavia-health-manager']
|