1
0
Fork 0
forked from infra/ansible

[ipa] Correctly disable NIS on RHEL10

Oops. I just enabled it only for RHEL10 and newer and it should be just
versions lesser than RHEL10.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2026-06-26 10:41:53 +02:00
commit 1f036616d5

View file

@ -204,7 +204,7 @@
notify:
- Restart ipa
# NIS is completely removed in RHEL10
when: ansible_distribution_major_version|int >= 10 and ansible_distribution == 'RedHat'
when: ansible_distribution_major_version|int < 10 and ansible_distribution == 'RedHat'
- name: Set the expiration date for the admin user
community.general.ipa_user: