ipa: need more modules enabled

This commit is contained in:
Mark O'Brien 2021-04-23 15:33:35 +01:00
parent e5e138a4e4
commit b51c4a5c7b
5 changed files with 30 additions and 7 deletions

View file

@ -0,0 +1,5 @@
[389-ds]
name=389-ds
stream=1.4
profiles=
state=enabled

View file

@ -0,0 +1,5 @@
[idm]
name=idm
stream=DL1
profiles=
state=enabled

View file

@ -0,0 +1,5 @@
[pki-core]
name=pki-core
stream=10.6
profiles=
state=enabled

View file

@ -0,0 +1,5 @@
[pki-deps]
name=pki-deps
stream=10.6
profiles=
state=enabled

View file

@ -4,14 +4,17 @@
# TODO: remove staging tag afetr freeze
- name: on rhel8 hosts enable the correct idm module
copy:
dest: /etc/dnf/modules.d/idm.module
content: |
[idm]
name=idm
stream=DL1
profiles=
state=enabled
src: "{{item}}"
dest: /etc/dnf/modules.d/{{item}}
with_items:
- 389-ds.module
- idm.module
- pki-core.module
- pki-deps.module
when: ansible_distribution_major_version|int >= 8 and ansible_distribution == 'RedHat' and env == 'staging'
tags:
- ipa/server
- config
# TODO: consider switching to https://github.com/freeipa/ansible-freeipa
- name: install needed packages