Merge "translations: Check for translation-source first"

This commit is contained in:
Zuul 2017-12-16 16:17:47 +00:00 committed by Gerrit Code Review
commit f4d0223639

View File

@ -1,6 +1,12 @@
- name: Check for translation files
stat:
path: "{{ translation_output_src }}"
register: translation_files
- name: Collect translation source files - name: Collect translation source files
synchronize: synchronize:
dest: "{{ zuul_executor_dest }}" dest: "{{ zuul_executor_dest }}"
mode: pull mode: pull
src: "{{ translation_output_src }}" src: "{{ translation_output_src }}"
verify_host: true verify_host: true
when: translation_files.stat.exists