Add until to security_actions.yml

This commit is contained in:
JESUS D. GARCIA 2024-09-19 09:21:40 -05:00
parent 09dbe61ef0
commit 3a576c838a
No known key found for this signature in database
GPG Key ID: EAF4D8222FF2C889

View File

@ -112,8 +112,8 @@
status_code: 200,201,401 status_code: 200,201,401
return_content: yes return_content: yes
timeout: 4 timeout: 4
register: result
until: result.status in [200,201,401]
when: when:
- indexer_custom_user is defined and indexer_custom_user - indexer_custom_user is defined and indexer_custom_user
- inventory_hostname == ansible_play_hosts[0] - inventory_hostname == ansible_play_hosts[0]