blob: 1cf241aeef1eeb425ee82f4440270fc4e0af4ffb [file] [log] [blame]
Zack Williamsc989f262017-05-11 13:02:59 -07001---
2# copy-cord/tasks/main.yml
3
4- name: Copy (sync) the cord directory to head node
5 become: yes
6 synchronize:
7 src: "{{ config_cord_dir }}/"
8 dest: "{{ head_cord_dir }}/"
9
10- name: Set ownership on CORD dir on head node
11 become: yes
12 file:
13 dest: "{{ head_cord_dir }}"
14 state: directory
15 recurse: yes
16 owner: "{{ ansible_user_id }}"
17 group: "{{ ansible_user_gid }}"
18