Compare commits
2 commits
0a5f0b7714
...
7c6810a945
Author | SHA1 | Date | |
---|---|---|---|
7c6810a945 | |||
55fcc318cc |
2 changed files with 5 additions and 4 deletions
|
@ -50,6 +50,6 @@
|
||||||
become: yes
|
become: yes
|
||||||
when: ansible_facts['os_family'] == 'Debian'
|
when: ansible_facts['os_family'] == 'Debian'
|
||||||
|
|
||||||
# - name: Install Ansible
|
- name: Install Ansible
|
||||||
# pip:
|
pip:
|
||||||
# name: ansible=={{ ensure_ansible_version }}
|
name: ansible=={{ ensure_ansible_version }}
|
|
@ -35,8 +35,9 @@
|
||||||
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: yes
|
ignore_errors: true
|
||||||
|
|
||||||
- name: 'Ensure that wheel group is existing'
|
- name: 'Ensure that wheel group is existing'
|
||||||
group:
|
group:
|
||||||
|
|
Loading…
Add table
Reference in a new issue