set strong password for root

This commit is contained in:
rene committed 2025-10-07 15:51:34 +02:00
1 parent f38eeed748
commit ab9d723eae
3 files changed
+59 -43

No files matched your search

+3
View File
@@ -1,4 +1,7 @@
# Configure users for the bastion host
- name: users | root | Set strong password
include_tasks: users/root.yml
- name: users | rene | Ensure admin user is absent from bastion
include_tasks: users/rene.yml
+6
View 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