adjust "when" conditions to support RHEL8 naming

This commit is contained in:
Josh Lay 2020-01-07 00:37:06 -06:00
parent 50a8dc1248
commit 6f29a3904e
5 changed files with 8 additions and 8 deletions

View file

@ -4,7 +4,7 @@
when: ansible_distribution in ["Debian", "Ubuntu"]
- include_tasks: el.yml
when: ansible_distribution in ["CentOS" , "Red Hat Enterprise Linux", "Fedora"] and not is_atomic
when: ansible_distribution in ["CentOS" , "Red Hat Enterprise Linux", "RedHat", "Fedora"] and not is_atomic
# Need an idempotent way to install packages on atomic
# command module isn't idempotent and the package module insists on installing containers.