FEATURE: Simple playbook for configuring Ansible user implement. One host, simple vault, script to run it. Task creates user, grants sudo

This commit is contained in:
2026-07-05 15:43:23 +00:00
parent 04e025dff9
commit f0b33a8b57
8 changed files with 100 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
---
- name: Basic Proxmox guest deployment
hosts: all
remote_user: root
roles:
- ../roles/0_basic_postinstall
vars_files:
../data/secrets.yaml
vars:
ansible_user_passwd_hash: "{{ ansible_become_password | password_hash('sha512', 's3edscrj45e6r') }}"
user_passwd_hash: "{{ user_password | password_hash('sha512', 's3ed6123jhgcr') }}"
handlers:
- name: restart sshd
service:
name: sshd
state: restarted