summaryrefslogtreecommitdiffstats
path: root/roles/pve-lxc
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-08 01:50:59 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-08 01:50:59 +0200
commit4a421249a8972c35cc6728cef7eed10e79419bbf (patch)
treed02a5f5a923d6105c2351c899def3edca8f954d7 /roles/pve-lxc
parent7609367ecb9751825a37e0fe2717aae8fd805da9 (diff)
Fix install proxmoxer using pip
Using mise or python role broke on other machines so went with the simplest solution for now, it's safe to break the system packages for python as this is not used internally in other ways Also proxmoxer 2+ is needed to work with the proxmox module
Diffstat (limited to 'roles/pve-lxc')
-rw-r--r--roles/pve-lxc/tasks/main.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/pve-lxc/tasks/main.yml b/roles/pve-lxc/tasks/main.yml
index 56397e50..c5599751 100644
--- a/roles/pve-lxc/tasks/main.yml
+++ b/roles/pve-lxc/tasks/main.yml
@@ -10,7 +10,6 @@
content_type: "vztmpl"
template: "{{ pve_lxc_template }}"
state: present
- no_log: true
tags:
# PVE API not available in containers — requires proxmox-ve package
- "molecule-notest"
@@ -34,6 +33,7 @@
nameserver: "{{ pve_lxc_dns }}"
onboot: true
unprivileged: true
+ cmode: "shell"
state: present
tags:
# PVE API not available in containers — requires proxmox-ve package
@@ -48,7 +48,6 @@
node: "{{ ansible_facts['hostname'] }}"
vmid: "{{ pve_lxc_id }}"
state: started
- no_log: true
tags:
# PVE API not available in containers — requires proxmox-ve package
- "molecule-notest"