blob: 3d3af3e3b9b1acca9fc00b3244dd4133a80833af [file] [log] [blame]
Zack Williamsc989f262017-05-11 13:02:59 -07001---
2# copy-credentials/tasks/main.yml
3
4- name: Copy (sync) the credentials directory to head node, for MaaS provisioner
5 become: yes
6 synchronize:
7 src: "{{ credentials_dir }}/"
8 dest: "/opt/credentials/"
9
10- name: Set ownership on credentials dir on head node, for MaaS provisioner
11 become: yes
12 file:
13 dest: "/opt/credentials"
14 state: directory
15 recurse: yes
16 owner: "{{ ansible_user_id }}"
17 group: "{{ ansible_user_gid }}"
18