Skip to content

Commit b770285

Browse files
committed
ci: update prod scenario
1 parent ad052c1 commit b770285

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

molecule/prod_eap/converge.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
hosts: localhost
44
gather_facts: no
55
tasks:
6-
- name: "Ensures required secret are provided."
7-
ansible.builtin.assert:
8-
that:
9-
- client_id is defined and client_id | length > 0
10-
- client_secret is defined and client_secret | length > 0
11-
fail_msg: "Missing required env vars PROD_JBOSSNETWORK_API_CLIENTID and/or PROD_JBOSSNETWORK_API_SECRET"
12-
136
- name: Search EAP Product
147
middleware_automation.common.product_search:
158
client_id: "{{ lookup('env', 'PROD_JBOSSNETWORK_API_CLIENTID') }}"
@@ -26,8 +19,8 @@
2619

2720
- name: Retrieve product download using JBossNetwork API
2821
middleware_automation.common.product_search:
29-
client_id: "{{ client_id }}"
30-
client_secret: "{{ client_secret }}"
22+
client_id: "{{ lookup('env', 'PROD_JBOSSNETWORK_API_CLIENTID') }}"
23+
client_secret: "{{ lookup('env', 'PROD_JBOSSNETWORK_API_SECRET') }}"
3124
product_type: BUGFIX
3225
product_version: '7.4'
3326
product_category: appplatform

0 commit comments

Comments
 (0)