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. Change-Id: I792d991ead1217a223e3f81fe9096d6a8ba737d9
This commit is contained in:
parent
b73efaff05
commit
a03837a2c0
@ -92,7 +92,7 @@
|
||||
|
||||
- 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:
|
||||
@ -104,4 +104,3 @@
|
||||
- query-zanata-project-version.py
|
||||
- upstream_translation_update.sh
|
||||
- ZanataUtils.py
|
||||
become: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user