FEATURE: automatic LXC creation added

This commit is contained in:
2026-07-07 11:40:00 +00:00
parent d6cddf13eb
commit e033652d3e
2 changed files with 39 additions and 9 deletions
+15 -9
View File
@@ -1,14 +1,20 @@
---
- name: Basic Proxmox guest deployment
hosts: all
remote_user: root
- name: Deplot simple test LXC on Proxmox VE
hosts: localhost
gather_facts: false
roles:
- ../roles/0_basic_postinstall
vars_files:
../inventory/group_vars/all/secrets.yaml
vars:
ansible_user_passwd_hash: "{{ ansible_password | password_hash('sha512', 's3edscrj45e6r') }}"
user_passwd_hash: "{{ user_password | password_hash('sha512', 's3ed6123jhgcr') }}"
- ../roles/00_basic_proxmox_lxc
#- name: Basic Proxmox guest deployment
# hosts: all
# remote_user: root
# roles:
# - ../roles/01_basic_postinstall
# vars_files:
# ../inventory/group_vars/all/secrets.yaml
# vars:
# ansible_user_passwd_hash: "{{ ansible_password | password_hash('sha512', 's3edscrj45e6r') }}"
# user_passwd_hash: "{{ user_password | password_hash('sha512', 's3ed6123jhgcr') }}"
handlers:
- name: restart sshd