1
0
Fork 0
forked from infra/ansible

[ipa] Disable NIS on RHEL10

NIS is no longer supported on RHEL10 IPA. We don't need to disable it anymore.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2026-06-26 10:34:14 +02:00
commit 505e300ae4

View file

@ -203,6 +203,8 @@
failed_when: "'Plugin is already disabled' not in output.stdout and output.rc != 0"
notify:
- Restart ipa
# NIS is completely removed in RHEL10
when: ansible_distribution_major_version|int >= 10 and ansible_distribution == 'RedHat'
- name: Set the expiration date for the admin user
community.general.ipa_user: