diff --git a/tasks/horizon_translations_update.yml b/tasks/horizon_translations_update.yml index 6900f997..d9134de9 100644 --- a/tasks/horizon_translations_update.yml +++ b/tasks/horizon_translations_update.yml @@ -14,7 +14,7 @@ # limitations under the License. - name: Perform a Zanata Pull Catalog - command: "{{ horizon_bin }}/horizon-manage.py pull_catalog -p {{ translation.project }} -b {{ (translation.branch | default(horizon_translations_project_version)) | replace('/', '-') }}" + command: "{{ horizon_bin }}/horizon-manage.py pull_catalog -p {{ translation.project }} -m {{ translation.module }} -b {{ (translation.branch | default(horizon_translations_project_version)) | replace('/', '-') }}" args: chdir: "{{ horizon_lib_dir }}/" changed_when: false @@ -27,11 +27,7 @@ - name: Perform Zanata Compile Messages command: "{{ horizon_bin }}/horizon-manage.py compilemessages" args: - chdir: "{{ horizon_lib_dir }}/{{ item }}" - with_items: - - horizon - - openstack_dashboard - - openstack_auth + chdir: "{{ horizon_lib_dir }}/" tags: - skip_ansible_lint notify: Restart apache2 diff --git a/vars/main.yml b/vars/main.yml index fca303aa..7c07fcf6 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -15,6 +15,29 @@ _horizon_translations_pull: - project: "horizon" + branch: master enabled: True + module: + - horizon + - openstack_auth + - openstack_dashboard + - project: "designate-dashboard" + branch: master + enabled: True + module: designatedashboard + - project: "sahara-dashboard" + branch: master + enabled: True + module: sahara_dashboard - project: "heat-dashboard" + branch: master enabled: "{{ horizon_enable_heat_ui }}" + module: heat_dashboard + - project: "magnum-ui" + branch: master + enabled: True + module: magnum_ui + - project: "trove-dashboard" + branch: master + enabled: True + module: trove_dashboard