feat(maintenance): new checks added, existing improved #6
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user