force rocky 9 or higher
This commit is contained in:
parent
bfa665c136
commit
8d68fb0dae
@ -27,6 +27,14 @@
|
|||||||
success_msg: "We are able to run on this node"
|
success_msg: "We are able to run on this node"
|
||||||
fail_msg: "/etc/no-ansible exists - skipping run on this node"
|
fail_msg: "/etc/no-ansible exists - skipping run on this node"
|
||||||
|
|
||||||
|
- name: Verify if we are Rocky Linux 9 or higher
|
||||||
|
ansible.builtin.assert:
|
||||||
|
that:
|
||||||
|
- ansible_distribution_major_version|int >= 9
|
||||||
|
- ansible_distribution | lower == "rocky"
|
||||||
|
success_msg: "We are on a supported system"
|
||||||
|
fail_msg: "Only Rocky Linux versions 9 or higher are supported."
|
||||||
|
|
||||||
# We have separate passwords per rabbitmq env
|
# We have separate passwords per rabbitmq env
|
||||||
- name: Import rabbitmq passwords
|
- name: Import rabbitmq passwords
|
||||||
ansible.builtin.include_vars:
|
ansible.builtin.include_vars:
|
||||||
|
Loading…
Reference in New Issue
Block a user