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:
Matt Thompson 2014-11-11 12:59:48 +00:00
parent f5f22df6b8
commit 17ae7f3b09

View File

@ -15,3 +15,5 @@
- name: Perform a Glance DB sync
command: glance-manage db_sync
sudo: yes
sudo_user: "{{ system_user }}"