Add serviceaccount token creation;Base delays on storage benchmark
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-08 17:07:44 +01:00
parent cabf813daa
commit f47777763a
21 changed files with 37 additions and 34 deletions

View File

@ -8,5 +8,5 @@
label: "{{ item | basename }}"
# Probably should add a task before that ensures K3s node is fully initialized before starting imports; currently K3s goes away briefly during this loop
retries: "{{ playbook.retries }}"
delay: "{{ playbook.delay.short }}"
delay: "{{ (storage_benchmark * playbook.delay.short) | int }}"
until: import_result is not failed

View File

@ -5,7 +5,7 @@
schema: vsphere
register: vcenter_info
retries: "{{ playbook.retries }}"
delay: "{{ playbook.delay.short }}"
delay: "{{ (storage_benchmark * playbook.delay.short) | int }}"
until: vcenter_info is not failed
module_defaults:

View File

@ -1,6 +1,7 @@
playbook:
retries: 5
delay:
long: 60
medium: 30
short: 10
# These values are multiplied with the value of `storage_benchmark`
long: 2
medium: 1
short: 0.5