revert parts of "506fa8da8d" (explanation inline) #217
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
||||||
createhome: "{{ item.createhome | default('yes') }}"
|
createhome: "{{ item.createhome | default('yes') }}"
|
||||||
state: "{{ item.state | default('present') }}"
|
state: "{{ item.state | default('present') }}"
|
||||||
loop: '{{ users }}'
|
loop: '{{ users }}'
|
||||||
#no_log: true
|
no_log: true
|
||||||
|
|
||||||
- name: Ensure user ssh-keys exist
|
- name: Ensure user ssh-keys exist
|
||||||
ansible.posix.authorized_key:
|
ansible.posix.authorized_key:
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
state: "{{ item.state | default('present') }}"
|
state: "{{ item.state | default('present') }}"
|
||||||
when: item.public_ssh_key is defined
|
when: item.public_ssh_key is defined
|
||||||
loop: '{{ users }}'
|
loop: '{{ users }}'
|
||||||
#no_log: true
|
no_log: true
|
||||||
|
|
||||||
# teilweiser revert von https://git.mgrote.net/mg/homeserver/commit/506fa8da8d8c4ca74d0d78d044468b991d0d560a
|
# teilweiser revert von https://git.mgrote.net/mg/homeserver/commit/506fa8da8d8c4ca74d0d78d044468b991d0d560a
|
||||||
# das modul erstellt die sudoers falsch:
|
# das modul erstellt die sudoers falsch:
|
||||||
|
@ -63,4 +63,4 @@
|
||||||
state: "{{ item.state | default('present') }}"
|
state: "{{ item.state | default('present') }}"
|
||||||
loop: '{{ users }}'
|
loop: '{{ users }}'
|
||||||
when: (item.allow_sudo|default(false) and item.allow_sudo is defined) and ("absent" in item.state)
|
when: (item.allow_sudo|default(false) and item.allow_sudo is defined) and ("absent" in item.state)
|
||||||
# no_log: true
|
no_log: true
|
||||||
|
|
Loading…
Reference in a new issue