todo
All checks were successful
ansible-lint / gitleaks (pull_request) Successful in 3s
ansible-lint / Ansible Lint (pull_request) Successful in 26s

This commit is contained in:
Michael Grote 2024-10-08 16:49:30 +02:00
parent 048aebf95f
commit fc8f1253a0

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