fix mgrote_users "wantlist" #203

Merged
mg merged 10 commits from us into master 2024-10-08 17:02:29 +02:00
Showing only changes of commit fc8f1253a0 - Show all commits

View file

@ -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