summaryrefslogtreecommitdiffstats
path: root/roles/pve-lxc/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/pve-lxc/tasks')
-rw-r--r--roles/pve-lxc/tasks/main.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/pve-lxc/tasks/main.yml b/roles/pve-lxc/tasks/main.yml
index c0fd0c17..b719bfd0 100644
--- a/roles/pve-lxc/tasks/main.yml
+++ b/roles/pve-lxc/tasks/main.yml
@@ -63,8 +63,10 @@
alpine) apk add --no-cache python3 ;;
debian|ubuntu) apt-get install -y python3 ;;
*) echo "Unsupported distro: $ID" && exit 1 ;;
- esac'
- changed_when: false
+ esac;
+ echo "python3 installed"'
+ register: cgit_python_bootstrap
+ changed_when: "'python3 installed' in cgit_python_bootstrap.stdout"
tags:
# PVE API not available in containers — requires proxmox-ve package
- "molecule-notest"