You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove ipa_host variable from manage-participants (#94)
* Remove ipa_host variable from manage-participants
The ipa_host variable should be set at main entry point based on
ocp_subdomain and subdomain_base_suffix variables provided externally.
* Adding checks for ocp_subdomain and subdomain_base_suffix vars
* Adding additional information to the variables check
- Adding empty check for ocp_subdomain and subdomain_base_suffix
variables
- Additional output for error message
* Minor formatting update
Co-authored-by: Øystein Bedin <[email protected]>
Copy file name to clipboardExpand all lines: manage-participants/main.yml
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,15 @@
3
3
- hosts: identity-hosts
4
4
name: Verify Identity Provider
5
5
tasks:
6
+
- name: "Fail if ocp_subdomain or subdomain_base_suffix not provided"
7
+
fail:
8
+
msg: "Variable ocp_subdomain ({{ ocp_subdomain | default('')}}) or subdomain_base_suffix ({{ subdomain_base_suffix | default('') }}) is not defined or empty"
9
+
when:
10
+
- (ocp_subdomain is undefined or ocp_subdomain|trim == "") or
11
+
(subdomain_base_suffix is undefined or subdomain_base_suffix|trim == "")
0 commit comments