roles/wazuh-agent: change comparison to literal bool
This commit is contained in:
parent
80593c464b
commit
55d3039519
@ -69,7 +69,7 @@
|
||||
register: agent_auth_output
|
||||
notify: Windows | Restart Wazuh Agent
|
||||
when:
|
||||
- wazuh_agent_authd.enable == true
|
||||
- wazuh_agent_authd.enable | bool
|
||||
- not check_windows_key.stat.exists or check_windows_key.stat.size == 0
|
||||
- wazuh_agent_authd.registration_address is not none
|
||||
tags:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user