Skip to content

Commit

Permalink
Add until to security_actions.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YisDav committed Sep 19, 2024
1 parent 09dbe61 commit 3a576c8
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 3a576c8

Please sign in to comment.