Compare commits

..

3 Commits

Author SHA1 Message Date
dependabot[bot]
0d50bab61d Merge c118d23111 into 83a0be3afd 2024-02-24 19:21:10 -06:00
Techno Tim
c118d23111 Merge branch 'master' into dependabot/pip/pre-commit-3.6.2 2024-02-24 19:21:08 -06:00
Angel Garza
83a0be3afd Added pre_task to verify minimum Ansible version (#454) 2024-02-24 19:20:57 -06:00

View File

@@ -1,4 +1,13 @@
--- ---
- name: Pre tasks
hosts: all
pre_tasks:
- name: Verify Ansible is version 2.11 or above. (If this fails you may need to update Ansible)
assert:
that: "ansible_version.full is version_compare('2.11', '>=')"
msg: >
"Ansible is out of date. See here for more info: https://docs.technotim.live/posts/ansible-automation/"
- name: Prepare Proxmox cluster - name: Prepare Proxmox cluster
hosts: proxmox hosts: proxmox
gather_facts: true gather_facts: true