Skip to content

Commit 88f049e

Browse files
author
William Dyson
committed
added verification for FreeIPA TLS and clients
Signed-off-by: William Dyson <[email protected]>
1 parent 6ced719 commit 88f049e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

roles/verify/inventory/tasks/main.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,18 @@
3232
not (
3333
'ca_server' in groups and krb5_kdc_type == "Red Hat IPA")
3434
}}
35+
36+
- block:
37+
- set_fact:
38+
cluster_hosts: >-
39+
{{ groups.cluster | default([])
40+
| union(groups.cloudera_manager | default([]))
41+
}}
42+
43+
- name: Ensure that all hosts requiring TLS certificates have a FreeIPA client
44+
assert:
45+
that: >-
46+
{{ groups.tls | difference(cluster_hosts) | length == 0 }}
47+
when:
48+
- krb5_kdc_type == "Red Hat IPA"
49+
- not (skip_ipa_signing | default(false))

0 commit comments

Comments
 (0)