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:
parent
d6f46658ec
commit
505e300ae4
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue