Skip to content

Commit

Permalink
AMW-310 Misleading mention of prospero in EAP 7 ansible colleciton
Browse files Browse the repository at this point in the history
  • Loading branch information
RanabirChakraborty authored and rpelisse committed Sep 18, 2024
1 parent 5b02142 commit 80598cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions roles/wildfly_install/tasks/prereqs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
- name: Validate credentials
ansible.builtin.assert:
that:
- (rhn_username is defined and eap_enable is defined and eap_enable) or not eap_enable is defined or not eap_enable or wildfly_offline_install or eap_install_use_prospero
- (rhn_password is defined and eap_enable is defined and eap_enable) or not eap_enable is defined or not eap_enable or wildfly_offline_install or eap_install_use_prospero
- (rhn_username is defined and eap_enable is defined and eap_enable) or not eap_enable is defined or not eap_enable
- (rhn_password is defined and eap_enable is defined and eap_enable) or not eap_enable is defined or not eap_enable
quiet: true
fail_msg: "Cannot install Red Hat Enterprise Application Platform without RHN credentials. Define rhn_username and rhn_password are defined or set eap_offline_install"
when: not wildfly_offline_install and not (wildfly_install_use_prospero | default(false))

- name: "Validate that {{ wildlfy_version }} matches expected scheme (X.y.z)"
ansible.builtin.assert:
Expand Down

0 comments on commit 80598cc

Please sign in to comment.