dsfg
This commit is contained in:
parent
2c4b98c1cc
commit
700d7f6492
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
|||
createhome: "{{ item.createhome | default('yes') }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
loop: '{{ users }}'
|
||||
no_log: true
|
||||
#no_log: true
|
||||
|
||||
- name: Ensure user ssh-keys exist
|
||||
ansible.posix.authorized_key:
|
||||
|
@ -35,7 +35,7 @@
|
|||
state: "{{ item.state | default('present') }}"
|
||||
when: item.public_ssh_key is defined
|
||||
loop: '{{ users }}'
|
||||
no_log: true
|
||||
#no_log: true
|
||||
|
||||
- name: Ensure users are added to sudoers
|
||||
community.general.sudoers:
|
||||
|
@ -46,4 +46,4 @@
|
|||
nopassword: "{{ item.allow_passwordless_sudo }}"
|
||||
loop: '{{ users }}'
|
||||
when: item.allow_sudo|default(false) and item.allow_sudo is defined
|
||||
no_log: true
|
||||
#no_log: true
|
||||
|
|
Loading…
Reference in a new issue