Initial Lab Setup

This commit is contained in:
2026-07-06 16:45:51 +02:00
commit 05184d778d
52 changed files with 2526 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
---
- name: Emergency Password Reset
hosts: all
become: yes
tasks:
- name: Force reset root password to something known
ansible.builtin.user:
name: root
# Replace 'TemporaryPassword123' with your desired plain text password
password: "{{ 'xxx' | password_hash('sha512', 'mycustomsalt') }}"
shell: /bin/bash
- name: Force reset your main user password
ansible.builtin.user:
name: volker
password: "{{ 'xxx' | password_hash('sha512', 'mycustomsalt') }}"