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