aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-01-19 23:04:11 +0100
committerbinary <me@rgoncalves.se>2021-01-19 23:04:11 +0100
commit0b5be278389350258e4a4c6ef2769512719436fe (patch)
tree9c69fa420c31f6780f3615c7265317585f2f7e06
parent74d9ce61bb0b2d65043c08cd8c4711d1474219bf (diff)
downloadinfrastructure-0b5be278389350258e4a4c6ef2769512719436fe.tar.gz
Install python3 on raw connection
-rw-r--r--playbooks/extra/prerequisites.yml18
1 files changed, 18 insertions, 0 deletions
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
remember that computers suck.