expanded PATH to be able to execute ldconfig with su

This commit is contained in:
2024-09-27 09:59:09 +02:00
parent 6a4322db1f
commit 289c3c8317

View File

@@ -4,6 +4,7 @@
deb: https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.8.0-1_amd64.deb
environment:
WAZUH_MANAGER: "{{ wazuh_manager }}"
PATH: "/usr/sbin:{{ lookup('env', 'PATH') }}"
- name: systemctl daemon-reload
systemd: