diff options
| author | Duong Ha-Quang <duonghq@vn.fujitsu.com> | 2016-08-23 00:18:36 +0700 |
|---|---|---|
| committer | Duong Ha-Quang <duonghq@vn.fujitsu.com> | 2017-09-25 06:52:04 +0000 |
| commit | 26b2c2d9e94bbdcb12f8ccaa5d3198f0654c0a1e (patch) | |
| tree | a8a10992c47c58d259189f74ff2d687fd30db891 /ansible/post-deploy.yml | |
| parent | d6200ab13151870fbd3ca21ff99b118dd04b35a7 (diff) | |
| download | kolla-ansible-26b2c2d9e94bbdcb12f8ccaa5d3198f0654c0a1e.tar.gz kolla-ansible-26b2c2d9e94bbdcb12f8ccaa5d3198f0654c0a1e.zip | |
Specify 'become' to necessary tasks (general roles)
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
Diffstat (limited to 'ansible/post-deploy.yml')
| -rw-r--r-- | ansible/post-deploy.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml index 2f5ad7669..1cecaf1fa 100644 --- a/ansible/post-deploy.yml +++ b/ansible/post-deploy.yml @@ -1,6 +1,7 @@ --- - name: Creating admin openrc file on the deploy node hosts: localhost + become: true tasks: - template: src: "roles/common/templates/admin-openrc.sh.j2" |
