Add until to security_actions.yml
This commit is contained in:
parent
09dbe61ef0
commit
3a576c838a
@ -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]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user