Adds option to make authorized_keys exclusive (default: false)
This commit is contained in:
parent
867f9283e4
commit
0a5f0b7714
2 changed files with 5 additions and 4 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!
|
|
@ -50,6 +50,6 @@
|
|||
become: yes
|
||||
when: ansible_facts['os_family'] == 'Debian'
|
||||
|
||||
- name: Install Ansible
|
||||
pip:
|
||||
name: ansible=={{ ensure_ansible_version }}
|
||||
# - name: Install Ansible
|
||||
# pip:
|
||||
# name: ansible=={{ ensure_ansible_version }}
|
Loading…
Add table
Reference in a new issue