aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--playbooks/prerequisites.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/playbooks/prerequisites.yml b/playbooks/prerequisites.yml
new file mode 100644
index 0000000..ac4d58d
--- /dev/null
+++ b/playbooks/prerequisites.yml
@@ -0,0 +1,12 @@
+- hosts: all
+ gather_facts: false
+ tasks:
+ - name: bruteforce python installation with all packages possiblity
+ raw: |
+ ! pkg_add python3 &&
+ ! pkg install python3 &&
+ apk add python
+ register: result
+ ignore_errors: true
+ failed_when: result.rc not in [0, 1]
+ poll: 0
remember that computers suck.