Skip to content

Commit a2026a1

Browse files
Revert unnecessary changes
1 parent cf65973 commit a2026a1

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

roles/common/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ common__env_name_suffix: "{{ env.suffix | default(common__env_s
121121

122122
common__datalake_name: "{{ env.datalake.name | default([common__namespace_cdp, common__datalake_name_suffix] | join('-')) }}"
123123
common__datalake_name_suffix: "{{ env.datalake.suffix | default(common__datalake_suffix) }}"
124-
common__tunnel: "{{ env.tunnel | default(True) }}"
124+
common__tunnel: "{{ env.tunnel | default(False) }}"
125125
common__public_endpoint_access: "{{ env.public_endpoint_access | default(not common__tunnel) }}"
126126

127127
common__env_admin_password: "{{ globals.admin_password | mandatory }}"

roles/runtime/tasks/setup_aws.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -37,29 +37,29 @@
3737
- name: Setup CDP DW cluster on AWS
3838
when: run__include_dw
3939
block:
40-
# - name: Execute CDP DW cluster setup
41-
# cloudera.cloud.dw_cluster:
42-
# env: "{{ run__env_name }}"
43-
# overlay: "{{ run__dw_overlay_network }}"
44-
# aws_public_subnets: "{{ run__datahub_public_subnet_ids }}"
45-
# aws_private_subnets: "{{ run__datahub_private_subnet_ids }}"
46-
# state: present
47-
# wait: yes
48-
# async: 3600 # 1 hour timeout
49-
# poll: 0
50-
# register: __dw_builds
51-
#
52-
# - name: Wait for CDP DW cluster setup to complete
53-
# ansible.builtin.async_status:
54-
# jid: "{{ __dw_builds.ansible_job_id }}"
55-
# #loop_control:
56-
# # loop_var: __opdb_build
57-
# # label: "{{ __opdb_build.__opdb_config.name }}"
58-
# #loop: "{{ __opdb_builds.results }}"
59-
# register: __dw_builds_async
60-
# until: __dw_builds_async.finished
61-
# retries: 120
62-
# delay: 30
40+
- name: Execute CDP DW cluster setup
41+
cloudera.cloud.dw_cluster:
42+
env: "{{ run__env_name }}"
43+
overlay: "{{ run__dw_overlay_network }}"
44+
aws_public_subnets: "{{ run__datahub_public_subnet_ids }}"
45+
aws_private_subnets: "{{ run__datahub_private_subnet_ids }}"
46+
state: present
47+
wait: yes
48+
async: 3600 # 1 hour timeout
49+
poll: 0
50+
register: __dw_builds
51+
52+
- name: Wait for CDP DW cluster setup to complete
53+
ansible.builtin.async_status:
54+
jid: "{{ __dw_builds.ansible_job_id }}"
55+
#loop_control:
56+
# loop_var: __opdb_build
57+
# label: "{{ __opdb_build.__opdb_config.name }}"
58+
#loop: "{{ __opdb_builds.results }}"
59+
register: __dw_builds_async
60+
until: __dw_builds_async.finished
61+
retries: 120
62+
delay: 30
6363

6464
- name: Retrieve CDP DW experiences
6565
cloudera.cloud.dw_cluster_info:

0 commit comments

Comments
 (0)