Skip to content

Commit e1b97d3

Browse files
acsjumpicurtishoward
authored andcommitted
Add Wait statement for DE setup
Signed-off-by: Alan <alan.silva@cloudera.com> Signed-off-by: Curtis Howard <curtis@cloudera.com>
1 parent 6a5d354 commit e1b97d3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

roles/runtime/tasks/setup_base.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,16 @@
142142
cloudera.cloud.df:
143143
name: "{{ run__cdp_env_crn }}"
144144
wait: yes
145+
146+
- name: Wait for CDP DE Workspace experiences to complete
147+
when: run__include_de
148+
ansible.builtin.async_status:
149+
jid: "{{ __de_build.ansible_job_id }}"
150+
loop_control:
151+
loop_var: __de_build
152+
label: "{{ __de_build.__de_config_item.name | default ('None') }}"
153+
loop: "{{ __de_builds.results }}"
154+
register: __de_builds_async
155+
until: __de_builds_async.finished
156+
retries: 120
157+
delay: 30

0 commit comments

Comments
 (0)