blob: c206a3fb8bada02e2ca739cb4dcffbfd7f8e6a5e [file] [log] [blame]
Zack Williamsc989f262017-05-11 13:02:59 -07001---
2# copy-profile/tasks/main.yml
3
4- name: Copy (sync) the cord_profile directory structure to head node
5 synchronize:
Andy Bavier7b90cb82017-06-22 10:33:00 -04006 src: "{{ config_cord_profile_dir }}/"
Zack Williamsc989f262017-05-11 13:02:59 -07007 dest: "{{ head_cord_profile_dir }}/"
8 delete: yes
9
10- name: Set ownership on cord_profile dir on head node
11 file:
12 dest: "{{ head_cord_profile_dir }}"
13 state: directory
14 recurse: yes
15 owner: "{{ ansible_user_id }}"
16 group: "{{ ansible_user_gid }}"
17