project-config/roles/copy-proposal-common-scripts/tasks/main.yaml
Andreas Jaeger affdbab218 Consolidate common.sh script copying
Create new role for copying common scripts, this includes for now only
common.sh. Use this for proposal and translation jobs.

In the past we duplicated the file, this allows to have one definition
only.

Change-Id: I72c14341f511fdaa2c67a3758387afc9445869cc
2018-02-15 08:03:40 +01:00

9 lines
236 B
YAML

- name: Copy the common files to the remote node
copy:
# src is relative to the dir the playbook is in on the executor
dest: "{{ ansible_user_dir }}/scripts/"
src: '{{ item }}'
mode: 0755
with_items:
- common.sh