expanded PATH to be able to execute ldconfig with su
This commit is contained in:
@@ -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
|
deb: https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.8.0-1_amd64.deb
|
||||||
environment:
|
environment:
|
||||||
WAZUH_MANAGER: "{{ wazuh_manager }}"
|
WAZUH_MANAGER: "{{ wazuh_manager }}"
|
||||||
|
PATH: "/usr/sbin:{{ lookup('env', 'PATH') }}"
|
||||||
|
|
||||||
- name: systemctl daemon-reload
|
- name: systemctl daemon-reload
|
||||||
systemd:
|
systemd:
|
||||||
|
|||||||
Reference in New Issue
Block a user