Fix translation scripts
The scripts are run from {{ ansible_user_dir }}/scripts/, so copy to
that place. In this case we do not need sudo access.
See playbooks/translation/upstream-translation.yaml for
invocation.
- name: Copy translation scripts to the script dir on the node
copy:
- dest: '/usr/local/jenkins/slave_scripts/{{ item }}'
+ dest: '{{ ansible_user_dir }}/scripts/'
src: '{{ item }}'
mode: 0755
with_items:
- query-zanata-project-version.py
- upstream_translation_update.sh
- ZanataUtils.py
- become: true
