Commit 5d57d679 by Ned Batchelder

Fix a yaml parsing change

parent 591a7b14
......@@ -61,9 +61,9 @@
group: "root"
mode: "0440"
validate: 'visudo -cf %s'
when: automated_sudoers_template
when: "{{ automated_sudoers_template }}"
with_dict: "{{ AUTOMATED_USERS }}"
- name: Create .ssh directory
file:
path: "/home/{{ item.key }}/.ssh"
......@@ -72,7 +72,7 @@
owner: "{{ item.key }}"
group: "{{ item.key }}"
with_dict: "{{ AUTOMATED_USERS }}"
- name: Build authorized_keys file
template:
src: "home/automator/.ssh/authorized_keys.j2"
......@@ -81,7 +81,7 @@
owner: "{{ item.key }}"
group: "{{ item.key }}"
with_dict: "{{ AUTOMATED_USERS }}"
- name: Build known_hosts file
file:
path: "/home/{{ item.key }}/.ssh/known_hosts"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment