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:
Dmitriy Rabotyagov 2020-03-25 14:36:31 +02:00 committed by Dmitriy Rabotyagov (noonedeadpunk)
parent cfb6365b75
commit b7a579b41e
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}/"