Compare commits
3 commits
ef9cfb8ced
...
7c6810a945
Author | SHA1 | Date | |
---|---|---|---|
7c6810a945 | |||
55fcc318cc | |||
0a5f0b7714 |
2 changed files with 4 additions and 2 deletions
|
@ -11,4 +11,5 @@ users:
|
|||
- vagrant
|
||||
sudoers:
|
||||
- vagrant
|
||||
ensure_ansible_version: 2.10.3
|
||||
ensure_ansible_version: 2.10.3
|
||||
authorized_keys_are_exclusive: false # Be careful, this will delete non-Ansible-managed authorized keys from the target!
|
|
@ -35,8 +35,9 @@
|
|||
user: "{{ item }}"
|
||||
state: present
|
||||
key: "{{ lookup('file', 'public_keys/id_{{ item }}.pub') }}"
|
||||
exclusive: "{{ authorized_keys_are_exclusive | bool }}"
|
||||
with_items: "{{ users }}"
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
|
||||
- name: 'Ensure that wheel group is existing'
|
||||
group:
|
||||
|
|
Loading…
Add table
Reference in a new issue