Compare commits
No commits in common. "a550c49dec3cd6840db6db20fd6fbb0a8d4669d2" and "0eb60eb1874783d4f3e1066e795755a8fb03c0f3" have entirely different histories.
a550c49dec
...
0eb60eb187
2 changed files with 2 additions and 4 deletions
|
@ -20,4 +20,3 @@ enable_sudo: yes
|
||||||
enable_passwordless_sudo: yes
|
enable_passwordless_sudo: yes
|
||||||
# Skip provisioning of the firewall
|
# Skip provisioning of the firewall
|
||||||
skip_firewall: no
|
skip_firewall: no
|
||||||
authorized_keys_are_exclusive: false # Be careful, this will delete non-Ansible-managed authorized keys from the target!
|
|
||||||
|
|
|
@ -44,9 +44,8 @@
|
||||||
user: "{{ item }}"
|
user: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
key: "{{ lookup('file', 'public_keys/id_{{ item }}.pub') }}"
|
key: "{{ lookup('file', 'public_keys/id_{{ item }}.pub') }}"
|
||||||
exclusive: "{{ authorized_keys_are_exclusive | bool }}"
|
|
||||||
with_items: "{{ users }}"
|
with_items: "{{ users }}"
|
||||||
ignore_errors: true
|
ignore_errors: yes
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: 'Ensure that wheel group is existing'
|
- name: 'Ensure that wheel group is existing'
|
||||||
|
|
Loading…
Add table
Reference in a new issue