26b2c2d9e9
Add config_owner_user and config_owner_group to group_vars/all, which is user and group of Kolla configuration files in /etc/kolla. Add become to post-deploy playbook. Add become to only neccesary tasks in roles: - certificate - common - destroy - haproxy - mariadb - memcached - rabbitmq Change-Id: I2aba745a6e3928c52642f64551470fd08cbfd058 Partial-Implements: blueprint ansible-specific-task-become
18 lines
626 B
YAML
18 lines
626 B
YAML
---
|
|
- name: Destroying Kolla host configuration
|
|
become: true
|
|
command: >
|
|
env enable_haproxy={{ enable_haproxy }}
|
|
enable_swift={{ enable_swift }}
|
|
glance_file_datadir_volume={{ glance_file_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 }}
|
|
destroy_include_dev={{ destroy_include_dev }}
|
|
/tmp/kolla-cleanup/tools/cleanup-host
|
|
|
|
- name: Destroying kolla-cleanup folder
|
|
file:
|
|
path: /tmp/kolla-cleanup
|
|
state: absent
|