Verify agent registration when is need it.
This commit is contained in:
parent
d6f865a296
commit
90dacea946
@ -28,7 +28,10 @@
|
|||||||
|
|
||||||
- name: Verify agent registration
|
- name: Verify agent registration
|
||||||
shell: echo {{ agent_auth_output }} | grep "Valid key created"
|
shell: echo {{ agent_auth_output }} | grep "Valid key created"
|
||||||
when: wazuh_register_client == true
|
when:
|
||||||
|
- wazuh_register_client == true
|
||||||
|
- check_keys.stat.size == 0
|
||||||
|
- wazuh_manager_ip is not none
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user