Do not become horizon
user for distro installs
Compiling messages as horizon user during distro installs results in permissions error due to the fact that libraries are owned by root user and been already compiled by distro package hook (for some distros) Change-Id: If6e3b48b68e0018e0122d76bf49dfbe569ce96ce
This commit is contained in:
parent
cfb6365b75
commit
b7a579b41e
@ -15,7 +15,7 @@
|
||||
|
||||
- name: Compile messages
|
||||
command: "{{ horizon_manage }} compilemessages"
|
||||
become: yes
|
||||
become: "{{ (horizon_install_method == 'source') }}"
|
||||
become_user: "{{ horizon_system_user_name }}"
|
||||
args:
|
||||
chdir: "{{ horizon_lib_dir }}/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user