blob: c206a3fb8bada02e2ca739cb4dcffbfd7f8e6a5e [file] [log] [blame]
---
# copy-profile/tasks/main.yml
- name: Copy (sync) the cord_profile directory structure to head node
synchronize:
src: "{{ config_cord_profile_dir }}/"
dest: "{{ head_cord_profile_dir }}/"
delete: yes
- name: Set ownership on cord_profile dir on head node
file:
dest: "{{ head_cord_profile_dir }}"
state: directory
recurse: yes
owner: "{{ ansible_user_id }}"
group: "{{ ansible_user_gid }}"