From c9e50ecfcfc02437adf0869f50409938a5f54cf3 Mon Sep 17 00:00:00 2001 From: "Daniel A. Maierhofer" Date: Sat, 17 Mar 2018 17:28:27 +0100 Subject: [PATCH] Fix for voidlinux --- roles/common | 2 +- site.yml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/roles/common b/roles/common index 2516384..cb190ef 160000 --- a/roles/common +++ b/roles/common @@ -1 +1 @@ -Subproject commit 25163846b2e8b19b44555fe2bec09077bec8a97d +Subproject commit cb190efd2cd3b56c5fb8c314bbda4955c5bce806 diff --git a/site.yml b/site.yml index 06b288a..7cd9f63 100644 --- a/site.yml +++ b/site.yml @@ -3,9 +3,11 @@ gather_facts: False tasks: - name: install python - raw: test -e /usr/bin/python || (apt-get update && apt-get install -y python) || (xbps-install -S && xbps-install python) + raw: test -e /usr/bin/python || (apt-get update && apt-get install -y python) || (xbps-install -S && xbps-install -y python || true) + changed_when: False - name: install python3 - raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3) || (xbps-install -S && xbps-install python) + raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3) || (xbps-install -S && xbps-install -y python || true) + changed_when: False - hosts: fet_hosts roles: