blob: c5df3499f9f3599904a6e124ca6d85a08ee3bc39 [file] [log] [blame]
---
# copy-credentials/tasks/main.yml
- name: Copy (sync) the credentials directory to head node, for MaaS provisioner
become: yes
synchronize:
src: "{{ credentials_dir }}/"
dest: "{{ head_credentials_dir }}/"
- name: Set ownership on credentials dir on head node, for MaaS provisioner
become: yes
file:
dest: "{{ head_credentials_dir }}"
state: directory
recurse: yes
owner: "{{ ansible_user_id }}"
group: "{{ ansible_user_gid }}"