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
+19
View File
@@ -0,0 +1,19 @@
---
- name: Synchronize Host Passwords
hosts: all
become: yes
tasks:
- name: Ensure root password is set from Vault
ansible.builtin.user:
name: root
# This takes the text from your vault and hashes it on your Mac
password: "{{ vault_root_password | password_hash('sha512') }}"
shell: /bin/bash
- name: Ensure volker password is set from Vault
ansible.builtin.user:
name: volker
password: "{{ vault_root_password | password_hash('sha512') }}"
shell: /bin/bash
groups: sudo
append: yes