blob: 3d3af3e3b9b1acca9fc00b3244dd4133a80833af [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: "/opt/credentials/"
- name: Set ownership on credentials dir on head node, for MaaS provisioner
become: yes
file:
dest: "/opt/credentials"
state: directory
recurse: yes
owner: "{{ ansible_user_id }}"
group: "{{ ansible_user_gid }}"