Run glance-manage as {{ system_user }}
Currently this task is run as root, however as glance has no separate glance-manage.log file, this _could_ result in /var/log/glance/glance-api.log being owned by root. This change causes glance-manage to be run as {{ system_user }} which should eliminate this from happening.
This commit is contained in:
parent
f5f22df6b8
commit
17ae7f3b09
@ -15,3 +15,5 @@
|
||||
|
||||
- name: Perform a Glance DB sync
|
||||
command: glance-manage db_sync
|
||||
sudo: yes
|
||||
sudo_user: "{{ system_user }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user