ipa: enable correct idm module stg

This commit is contained in:
Mark O'Brien 2021-04-23 12:30:13 +01:00
parent 18e8cca9e9
commit 7952914916

View file

@ -1,7 +1,19 @@
---
# Configuration for IPA
# TODO: consider switching to https://github.com/freeipa/ansible-freeipa
#
# 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
when: ansible_distribution_major_version|int >= 8 and ansible_distribution == 'RedHat' and env == 'staging'
# TODO: consider switching to https://github.com/freeipa/ansible-freeipa
- name: install needed packages
package: name={{ item }} state=present
with_items: