Skip to content

Commit

Permalink
Merge pull request #1409 from wazuh/enhancement/1843-add-retries-to-c…
Browse files Browse the repository at this point in the history
…reate-custom-user-task

Add retries to the Create Custom User ansible task
  • Loading branch information
teddytpc1 authored Sep 20, 2024
2 parents 09dbe61 + 3a576c8 commit c03ebb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/wazuh/wazuh-indexer/tasks/security_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
status_code: 200,201,401
return_content: yes
timeout: 4
register: result
until: result.status in [200,201,401]
when:
- indexer_custom_user is defined and indexer_custom_user
- inventory_hostname == ansible_play_hosts[0]


0 comments on commit c03ebb1

Please sign in to comment.