Skip to content

Commit eea1a5f

Browse files
Add retry logic to ess post-install (#657)
Co-authored-by: Alisha Mayor <[email protected]>
1 parent fe9c228 commit eea1a5f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

roles/splunk_common/tasks/premium_apps/configure_ess.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
become: yes
2525
become_user: "{{ splunk.user }}"
2626
register: essinstall
27-
changed_when: essinstall.rc == 0
28-
failed_when: essinstall.rc != 0 and 'Unknown search command' not in essinstall.stderr
27+
retries: 10
28+
delay: 30
29+
until: essinstall.rc == 0
2930
notify:
3031
- Restart the splunkd service

0 commit comments

Comments
 (0)