fix: Update tasks to use ansible_facts dictionary 95/73995/1
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 15 Dec 2025 12:14:20 +0000 (22:14 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 15 Dec 2025 12:22:05 +0000 (22:22 +1000)
commit0e27a3458e3c0fe30cf8e6772bc31303f0c02121
tree3c90641279aab51ab666edf05b909d2d33413f3b
parent16ced973537900757eef8b84a621c7d8963be69a
fix: Update tasks to use ansible_facts dictionary

- Replace ansible_os_family with ansible_facts['os_family']
- Replace ansible_architecture with ansible_facts['architecture']
- Replace ansible_distribution_* with ansible_facts['distribution_*']
- Fix version comparisons to use is version() test
- Update CentOS 9 condition to use >= instead of exact match

Change-Id: I71524fd294652e4b7993e41d1751957d15d4b0f5
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.github/workflows/gerrit-verify.yaml
molecule/default/molecule.yml
tasks/Debian.yml
tasks/RedHat.yml
tasks/main.yml