From 79529149163b1b0ecb3d2de089a582871d648adb Mon Sep 17 00:00:00 2001 From: Mark O'Brien Date: Fri, 23 Apr 2021 12:30:13 +0100 Subject: [PATCH] ipa: enable correct idm module stg --- roles/ipa/server/tasks/main.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/roles/ipa/server/tasks/main.yml b/roles/ipa/server/tasks/main.yml index ff4cce3816..7d53c10ff2 100644 --- a/roles/ipa/server/tasks/main.yml +++ b/roles/ipa/server/tasks/main.yml @@ -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: