fix mgrote_users "wantlist" #203
1 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
state: present
|
||||
loop: '{{ groups_as_list }}'
|
||||
when: groups_as_list is defined
|
||||
# no_log: true # TODO
|
||||
no_log: true
|
||||
|
||||
- name: Ensure users exist
|
||||
ansible.builtin.user:
|
||||
|
@ -24,7 +24,7 @@
|
|||
createhome: "{{ item.createhome | default('yes') }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
loop: '{{ users }}'
|
||||
# no_log: true # TODO
|
||||
no_log: true
|
||||
|
||||
- name: Ensure user ssh-keys exist
|
||||
ansible.posix.authorized_key:
|
||||
|
@ -33,7 +33,7 @@
|
|||
state: present
|
||||
when: item.public_ssh_key is defined
|
||||
loop: '{{ users }}'
|
||||
# no_log: true # TODO
|
||||
no_log: true
|
||||
|
||||
- name: Ensure users are added to sudoers
|
||||
ansible.builtin.lineinfile:
|
||||
|
@ -44,4 +44,4 @@
|
|||
validate: 'visudo -cf %s'
|
||||
when: item.allow_sudo|default(false) and item.allow_sudo is defined
|
||||
loop: '{{ users }}'
|
||||
# no_log: true # TODO
|
||||
no_log: true
|
||||
|
|
Loading…
Reference in a new issue