Similar to how the testnodes role works. apt_systems.yml will be added
when it's needed.
Signed-off-by: Zack Cerza <zack@redhat.com>
# We need these vars for the entitlements tag to work
- entitlements
-# configure Red Hat entitlements with subscription-manager
-- include: rhel-entitlements.yml
- when: ansible_distribution == 'RedHat'
- tags:
- - entitlements
+# configure things specific to yum systems
+- include: yum_systems.yml
+ when: ansible_pkg_mgr == "yum"
# configure Kerberos
- include: kerberos.yml
tags:
- kerberos
-
-# create and manage epel.repo
-- include: epel.yml
- when:
- ansible_distribution == "CentOS" or
- ansible_distribution == 'RedHat'
- tags:
- - epel
- - repos
--- /dev/null
+---
+# configure Red Hat entitlements with subscription-manager
+- include: rhel-entitlements.yml
+ when: ansible_distribution == 'RedHat'
+ tags:
+ - entitlements
+
+# create and manage epel.repo
+- include: epel.yml
+ when:
+ ansible_distribution == "CentOS" or
+ ansible_distribution == 'RedHat'
+ tags:
+ - epel
+ - repos