summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/pve-network/tasks/main.yml1
-rw-r--r--roles/pve-storage/tasks/main.yml3
-rw-r--r--roles/pve/tasks/main.yml8
3 files changed, 10 insertions, 2 deletions
diff --git a/roles/pve-network/tasks/main.yml b/roles/pve-network/tasks/main.yml
index 80ed6753..f7db0195 100644
--- a/roles/pve-network/tasks/main.yml
+++ b/roles/pve-network/tasks/main.yml
@@ -8,6 +8,7 @@
state: present
notify: "Restart pveproxy"
tags:
+ # pveproxy not available in containers — requires proxmox-ve package
- "molecule-notest"
- name: "Deploy bridge master connection"
diff --git a/roles/pve-storage/tasks/main.yml b/roles/pve-storage/tasks/main.yml
index 7fb66b87..069766e7 100644
--- a/roles/pve-storage/tasks/main.yml
+++ b/roles/pve-storage/tasks/main.yml
@@ -6,6 +6,7 @@
pvs: "{{ pve_storage_device }}"
state: present
tags:
+ # No block devices available in containers
- "molecule-notest"
- name: "Create LVM thin pool for PVE storage"
@@ -18,6 +19,7 @@
shrink: false
state: present
tags:
+ # No block devices available in containers
- "molecule-notest"
- name: "Register local-lvm storage in PVE"
@@ -28,4 +30,5 @@
changed_when: pve_pvesm_add.rc == 0
failed_when: pve_pvesm_add.rc != 0 and 'already defined' not in pve_pvesm_add.stderr
tags:
+ # pvesm binary not available in containers — requires proxmox-ve package
- "molecule-notest"
diff --git a/roles/pve/tasks/main.yml b/roles/pve/tasks/main.yml
index 30304e85..8c54c27c 100644
--- a/roles/pve/tasks/main.yml
+++ b/roles/pve/tasks/main.yml
@@ -6,7 +6,7 @@
state: "present"
update_cache: true
tags:
- # Since proxmox-ve package setups network and configure grub/kernel hooks which doesn't work in containers
+ # proxmox-ve package configures grub/kernel hooks which fail inside containers
- "molecule-notest"
- name: "Configure Proxmox repos"
@@ -32,6 +32,7 @@
path: "/etc/apt/sources.list"
mode: "0644"
tags:
+ # proxmox-ve package was skipped so apt sources are not modified in testing
- molecule-notest
- name: "Create PVE admin user"
@@ -42,6 +43,7 @@
changed_when: pve_user_add.rc == 0
failed_when: pve_user_add.rc != 0 and 'already exists' not in pve_user_add.stderr
tags:
+ # pveum binary not available in containers — requires proxmox-ve package
- "molecule-notest"
- name: "Set PVE admin user password"
@@ -51,6 +53,7 @@
cmd: "pveum passwd {{ pve_admin_user }}@pve --password {{ pve_admin_password }}"
changed_when: true
tags:
+ # pveum binary not available in containers — requires proxmox-ve package
- "molecule-notest"
- name: "Grant PVE Administrator role"
@@ -59,6 +62,7 @@
cmd: "pveum acl modify / --roles Administrator --users {{ pve_admin_user }}@pve"
changed_when: true
tags:
+ # pveum binary not available in containers — requires proxmox-ve package
- "molecule-notest"
- name: "Enable and start Proxmox VE services"
@@ -73,5 +77,5 @@
- "pveproxy"
- "pvestatd"
tags:
- # Since proxmox-ve package was ignored from testing, we need to ignore this too
+ # PVE services not available in containers — proxmox-ve package was skipped
- "molecule-notest"