diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-30 09:38:20 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-30 09:38:20 +0000 |
commit | d759489747495f0c71094fa12d587344bf43c023 (patch) | |
tree | 2d115f4ea29d240b1a24f12596060b15995b2770 /site.prerequisites.yml | |
parent | 249798531e0cbd338686cff52df1172aed3cc4a1 (diff) | |
download | rules-d759489747495f0c71094fa12d587344bf43c023.tar.gz |
playbooks: Move playbook files to root directory
Diffstat (limited to 'site.prerequisites.yml')
-rw-r--r-- | site.prerequisites.yml | 12 |
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 |