Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 1 | --- |
2 | # copy-profile/tasks/main.yml | ||||
3 | |||||
4 | - name: Copy (sync) the cord_profile directory structure to head node | ||||
5 | synchronize: | ||||
6 | src: "{{ config_cord_profile_dir }}/" | ||||
7 | 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 |