diff --git a/tasks/horizon_post_install.yml b/tasks/horizon_post_install.yml index 2e183f4f..4027ce9d 100644 --- a/tasks/horizon_post_install.yml +++ b/tasks/horizon_post_install.yml @@ -103,6 +103,16 @@ notify: Restart apache2 when: horizon_customization_module is defined +- name: Compile messages for translation + command: "{{ horizon_bin }}/horizon-manage.py compilemessages" + args: + chdir: "{{ horizon_lib_dir }}/{{ item }}" + with_items: + - horizon + - openstack_dashboard + tags: + - horizon-configs + - name: Collect and compress static files command: "{{ item }}" become: yes