project-config/roles/legacy-copy-project-config-scripts/tasks/main.yaml
Monty Taylor a2ccdf2d08
Extract scripts copying into a role
We'll need it for more than just proposal jobs, but it's clearly very
project-config specific, so keep it here.

While refactoring that, consume add-sshkey from zuul-jobs.

Depends-On: I569b93ba0e775896b5a4f59b544fe32d1e2dce9b
Change-Id: I6b16acdcf55bcc6ff28ad496c044fe7db4599cd8
2017-08-28 11:11:06 -05:00

6 lines
203 B
YAML

- name: Copy the scripts directory to the remote node
synchronize:
# src is relative to the dir the playbook is in on the executor
src: ../../jenkins/scripts
dest: "{{ ansible_user_dir }}"