Skip to content

Commit

Permalink
Change retries and delay parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Gonzalez committed Jun 5, 2024
1 parent f9eebad commit a9835cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions playbooks/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
_status: "{{ _consul_node_status.stdout }}"
_expected: 'alive'
register: _consul_node_status
retries: 10
delay: 10
retries: "{{ consul_task_retries | default('10') }}"
delay: "{{ consul_task_delay | default('10') }}"
until: _status == _expected
changed_when: false
no_log: true
Expand All @@ -39,7 +39,7 @@
_status: "{{ _consul_node_type.stdout }}"
_expected: 'server'
register: _consul_node_type
retries: 10
delay: 10
retries: "{{ consul_task_retries | default('10') }}"
delay: "{{ consul_task_delay | default('10') }}"
until: _status == _expected
changed_when: false

0 comments on commit a9835cd

Please sign in to comment.