Compare commits

...

2 commits

Author SHA1 Message Date
2f16e9e832
workflow: comment assert
All checks were successful
ansible-lint / ansible-lint (push) Successful in 24s
2025-10-19 15:48:27 -05:00
e6801edeed
tasks: assert supported OS family (RedHat/Debian) 2025-10-19 15:47:02 -05:00

View file

@ -4,6 +4,14 @@
# NOTE: limited EL8 testing/coverage, ansible-core 2.17+ lacks support for Python 3.6 # NOTE: limited EL8 testing/coverage, ansible-core 2.17+ lacks support for Python 3.6
# [managing Python releases considered out of scope] # [managing Python releases considered out of scope]
# Galaxy 'platforms' keyword is reportedly being phased out, dist. support noted in README: now assert
- name: Assert Supported Distribution
ansible.builtin.assert:
that:
- ansible_os_family in ['Debian', 'RedHat'] # + several derivatives
fail_msg: "OS Family '{{ ansible_os_family }}' not supported, expected Debian/RedHat."
success_msg: "Supported OS Family ({{ ansible_os_family }})"
- name: Package Facts - name: Package Facts
ansible.builtin.package_facts: { manager: auto } ansible.builtin.package_facts: { manager: auto }