roles/wazuh-agent: change comparison to literal bool

This commit is contained in:
neonmei 2020-11-12 11:37:10 -03:00
parent 80593c464b
commit 55d3039519
No known key found for this signature in database
GPG Key ID: 7EA1832E7E17237E

View File

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