FEATURE: adds a prompt about un/privileged LXC

This commit is contained in:
2026-08-21 20:29:50 +04:00
parent e9d38ece4d
commit d833004dee
2 changed files with 5 additions and 0 deletions
@@ -25,6 +25,10 @@
prompt: "IP address for the container (in x.x.x.x/x formant)" prompt: "IP address for the container (in x.x.x.x/x formant)"
private: false private: false
- name: lxc_is_privileged
prompt: "Unprivileged LXC (true/false)?"
private: false
pre_tasks: pre_tasks:
- name: Validate hostname - name: Validate hostname
ansible.builtin.fail: ansible.builtin.fail:
@@ -14,6 +14,7 @@
password: "{{ lxc_root_password }}" password: "{{ lxc_root_password }}"
hostname: "{{ lxc_hostname }}" hostname: "{{ lxc_hostname }}"
ostemplate: 'main:vztmpl/debian-13-golden-image.tar.gz' ostemplate: 'main:vztmpl/debian-13-golden-image.tar.gz'
unprivileged: "{{ lxc_is_privileged }}"
memory: 2048 memory: 2048
cores: 2 cores: 2
state: present state: present