Merge pull request #1409 from wazuh/enhancement/1843-add-retries-to-create-custom-user-task

Add retries to the Create Custom User ansible task
This commit is contained in:
Gonzalo Acuña 2024-09-20 07:25:43 -03:00 committed by GitHub
commit c03ebb1192
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]