aboutsummaryrefslogtreecommitdiffstats
path: root/site.prerequisites.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-30 09:38:20 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-30 09:38:20 +0000
commitd759489747495f0c71094fa12d587344bf43c023 (patch)
tree2d115f4ea29d240b1a24f12596060b15995b2770 /site.prerequisites.yml
parent249798531e0cbd338686cff52df1172aed3cc4a1 (diff)
downloadrules-d759489747495f0c71094fa12d587344bf43c023.tar.gz
playbooks: Move playbook files to root directory
Diffstat (limited to 'site.prerequisites.yml')
-rw-r--r--site.prerequisites.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/site.prerequisites.yml b/site.prerequisites.yml
new file mode 100644
index 0000000..3178164
--- /dev/null
+++ b/site.prerequisites.yml
@@ -0,0 +1,12 @@
+- hosts: all
+ gather_facts: false
+ tasks:
+ - name: bruteforce python installation with all packages possiblity # noqa: no-changed-when
+ 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.