Skip to content

Commit cb2c1a0

Browse files
committed
Use __lsr_redhat_clones when checking distribution
Fixes #39 Signed-off-by: Hayley Hughes <[email protected]>
1 parent 5027de9 commit cb2c1a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
- ad_integration_manage_crypto_policies | bool
112112
# Fedora and RHEL8+
113113
- (ansible_distribution == "Fedora" or
114-
(ansible_distribution in ['CentOS', 'RedHat'] and
114+
(ansible_distribution in __lsr_redhat_clones and
115115
ansible_distribution_version is version('8', '>=')))
116116

117117
## RHEL9 uses the AD-SUPPORT-LEGACY policy for RC4,
@@ -123,7 +123,7 @@
123123
crypto_policies_policy: "DEFAULT:AD-SUPPORT-LEGACY"
124124
when:
125125
- ad_integration_allow_rc4_crypto | bool
126-
- ansible_distribution in ['CentOS', 'RedHat']
126+
- ansible_distribution in __lsr_redhat_clones
127127
- ansible_distribution_version is version('9', '>=')
128128

129129
- name: Grab existing domain settings from sssd.conf if we want to merge

0 commit comments

Comments
 (0)