[IPA-Server]Don't install pynag on RHEL9
pynag is not available on rhel9 yet. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
dd6b5b1546
commit
8a6b5a7c65
1 changed files with 14 additions and 1 deletions
|
@ -26,8 +26,21 @@
|
||||||
tags:
|
tags:
|
||||||
- ipa/server
|
- ipa/server
|
||||||
- packages
|
- packages
|
||||||
|
when: ansible_distribution_major_version|int <= 8 and ansible_distribution == 'RedHat'
|
||||||
|
|
||||||
# TODO: need pynag for monitoring, not yet in rhel8.
|
- name: install needed packages
|
||||||
|
package: name={{ item }} state=present
|
||||||
|
with_items:
|
||||||
|
- haveged
|
||||||
|
- ipa-server
|
||||||
|
- ipa-server-dns
|
||||||
|
- ipa-fas
|
||||||
|
tags:
|
||||||
|
- ipa/server
|
||||||
|
- packages
|
||||||
|
when: ansible_distribution_major_version|int >= 9 and ansible_distribution == 'RedHat'
|
||||||
|
|
||||||
|
# TODO: need pynag for monitoring, not yet in rhel9.
|
||||||
|
|
||||||
- name: enable haveged
|
- name: enable haveged
|
||||||
service: name=haveged state=started enabled=yes
|
service: name=haveged state=started enabled=yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue