Merge "tasks: horizon_post_install: Add missing become statements for horizon user"
This commit is contained in:
commit
cacc869e43
@ -90,6 +90,8 @@
|
||||
|
||||
- name: Compile messages for translation
|
||||
command: "{{ horizon_bin }}/horizon-manage.py compilemessages"
|
||||
become: yes
|
||||
become_user: "{{ horizon_system_user_name }}"
|
||||
args:
|
||||
chdir: "{{ horizon_lib_dir }}/{{ item }}"
|
||||
changed_when: false
|
||||
|
@ -72,6 +72,8 @@
|
||||
- name: Ensure messages are compiled for translation
|
||||
async_status:
|
||||
jid: "{{ item.ansible_job_id }}"
|
||||
become: yes
|
||||
become_user: "{{ horizon_system_user_name }}"
|
||||
register: async_compile_messages_check
|
||||
until: async_compile_messages_check.finished
|
||||
retries: 300
|
||||
|
Loading…
x
Reference in New Issue
Block a user