File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
roles/influxdb_1x_platform/tasks Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 192192 ansible.builtin.wait_for :
193193 timeout : " {{ __influxdb1x_platform_remaining_wait }}"
194194
195+ - name : Create | Wait for boot process to finish
196+ vars :
197+ __influxdb1x_boot_timeout_max : >-
198+ {{
199+ __influxdb1x_platforms | map(attribute='boot_wait_seconds') | max
200+ }}
201+ when : __influxdb1x_boot_timeout_max | int > 0
202+ ansible.builtin.pause :
203+ seconds : " {{ __influxdb1x_boot_timeout_max | int }}"
204+
195205- name : Create | Collect cluster instance EC2 data
196206 ansible.builtin.include_tasks : " {{ role_path }}/tasks/collect_ec2_data.yml"
197207
Original file line number Diff line number Diff line change 111111 ansible.builtin.async_status :
112112 jid : " {{ __influxdb1x_platform_async_job.ansible_job_id }}"
113113 mode : cleanup
114-
115- # TODO: Add an actual check here instead of only waiting
116- - name : Provision | Wait for boot process to finish
117- vars :
118- __influxdb1x_boot_timeout_max : >-
119- {{
120- __influxdb1x_platforms | map(attribute='boot_wait_seconds') | max
121- }}
122- when : __influxdb1x_boot_timeout_max | int > 0
123- ansible.builtin.pause :
124- seconds : " {{ __influxdb1x_boot_timeout_max | int }}"
125-
You can’t perform that action at this time.
0 commit comments