feat(pb,role,task): completes the LXC deployment workflow using new validation tasks

This commit is contained in:
2026-09-17 10:50:46 +04:00
parent 0696218eb6
commit daa5826573
3 changed files with 17 additions and 16 deletions
+2 -2
View File
@@ -14,7 +14,7 @@
password: "{{ lxc_root_password }}"
hostname: "{{ lxc_hostname }}"
ostemplate: 'main:vztmpl/debian-13-golden-image.tar.gz'
unprivileged: "{{ lxc_is_privileged }}"
unprivileged: "{{ lxc_privileged }}"
memory: 2048
cores: 2
state: present
@@ -26,7 +26,7 @@
storage: local
pubkey: "{{ lookup('file', lookup('env', 'HOME') + '/.ssh/ansible_key.pub') }}"
netif:
net0: "name=eth0,gw=192.168.0.1,ip={{ lxc_ip_address }},bridge=vmbr0"
net0: "name=eth0,gw=192.168.0.1,ip={{ lxc_ip_address }}/{{ lxc_netmask }},bridge=vmbr0"
- name: Make sure the container has started
become: false