From 7c14e79aa82bb6ce48d7ddcce4db31370b11930c Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Tue, 31 Oct 2023 13:38:31 +0100 Subject: Prepare python installation when bootstrapping --- initial-deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/initial-deploy.yml b/initial-deploy.yml index 23a9f8f..6e6cdce 100644 --- a/initial-deploy.yml +++ b/initial-deploy.yml @@ -2,6 +2,10 @@ gather_facts: false hosts: "{{ target }}" tasks: + - name: Install Python if not already installed + raw: test -e /usr/bin/python3 || (apt -y update && apt install -y python3-minimal) + changed_when: false + failed_when: false - name: Install sudo package package: name: "sudo" -- cgit v1.2.3