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
10 lines
255 B
YAML
10 lines
255 B
YAML
---
|
|
- name: Creating admin openrc file on the deploy node
|
|
hosts: localhost
|
|
become: true
|
|
tasks:
|
|
- template:
|
|
src: "roles/common/templates/admin-openrc.sh.j2"
|
|
dest: "{{ node_config_directory }}/admin-openrc.sh"
|
|
run_once: True
|