fix: linting
All checks were successful
test / Linting (push) Successful in 15s
test / Molecule tests (default, debian11) (push) Successful in 26s
test / Molecule tests (default, debian12) (push) Successful in 28s
test / Molecule tests (default, ubuntu2004) (push) Successful in 27s
test / Molecule tests (default, ubuntu2204) (push) Successful in 28s
test / Molecule tests (with_ssh_keys, debian11) (push) Successful in 30s
test / Molecule tests (with_ssh_keys, debian12) (push) Successful in 30s
test / Molecule tests (with_ssh_keys, ubuntu2004) (push) Successful in 30s
test / Molecule tests (with_ssh_keys, ubuntu2204) (push) Successful in 30s

This commit is contained in:
Bertrand Lanson 2023-12-03 18:11:30 +01:00
parent 9038f8a2ba
commit 974344d9c4
3 changed files with 0 additions and 6 deletions

View File

@ -7,4 +7,3 @@
comment: "{{ provision_management_user_name }}@{{ ansible_hostname }}" comment: "{{ provision_management_user_name }}@{{ ansible_hostname }}"
key_options: "{{ provision_management_user_ssh_key_options }}" key_options: "{{ provision_management_user_ssh_key_options }}"
exclusive: "{{ provision_management_user_ssh_key_exclusive }}" exclusive: "{{ provision_management_user_ssh_key_exclusive }}"

View File

@ -10,7 +10,6 @@
notify: notify:
- systemctl-restart-sshd - systemctl-restart-sshd
when: provision_management_user_disable_root_password_auth when: provision_management_user_disable_root_password_auth
- name: "Lock root authentication" - name: "Lock root authentication"
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
@ -22,4 +21,3 @@
notify: notify:
- systemctl-restart-sshd - systemctl-restart-sshd
when: provision_management_user_disable_root_login when: provision_management_user_disable_root_login

View File

@ -5,7 +5,6 @@
name: "{{ provision_management_user_group }}" name: "{{ provision_management_user_group }}"
state: present state: present
system: "{{ provision_management_user_is_system }}" system: "{{ provision_management_user_is_system }}"
- name: "Create user {{ provision_management_user_name }}" - name: "Create user {{ provision_management_user_name }}"
ansible.builtin.user: ansible.builtin.user:
@ -17,7 +16,6 @@
shell: "{{ provision_management_user_shell }}" shell: "{{ provision_management_user_shell }}"
system: "{{ provision_management_user_is_system }}" system: "{{ provision_management_user_is_system }}"
create_home: true create_home: true
- name: "Add user to sudoers" - name: "Add user to sudoers"
community.general.sudoers: community.general.sudoers:
@ -27,4 +25,3 @@
nopassword: true nopassword: true
setenv: true setenv: true
when: provision_management_user_sudoer when: provision_management_user_sudoer