From 0b5be278389350258e4a4c6ef2769512719436fe Mon Sep 17 00:00:00 2001 From: binary Date: Tue, 19 Jan 2021 23:04:11 +0100 Subject: Install python3 on raw connection --- playbooks/extra/prerequisites.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 playbooks/extra/prerequisites.yml (limited to 'playbooks/extra') diff --git a/playbooks/extra/prerequisites.yml b/playbooks/extra/prerequisites.yml new file mode 100644 index 0000000..598f845 --- /dev/null +++ b/playbooks/extra/prerequisites.yml @@ -0,0 +1,18 @@ + +# all hosts basic ~~ playbooks/extra/prerequisites.yml +# install python with raw connection + +--- + +- hosts: all + gather_facts: false + + tasks: + + - name: bruteforce python installation with all packages possiblity + raw: "{{ item }}" + ignore_errors: true + loop: + - pkg_add python3 + - pkg install python3 + - apk add python -- cgit v1.2.3