set strong password for root
This commit is contained in:
6
roles/bastionhost/tasks/users/root.yml
Normal file
6
roles/bastionhost/tasks/users/root.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
# in z.B. roles/bastionhost/tasks/system_setup/user_hardening.yml
|
||||
- name: Bastionhost | User Hardening | Set a strong root password from vault
|
||||
ansible.builtin.user:
|
||||
name: root
|
||||
password: "{{ root_password_hash }}"
|
||||
when: root_password_hash is defined
|
||||
Reference in New Issue
Block a user