Skip to content
Snippets Groups Projects
Commit 30ebb0fd authored by Zitnik, Anze's avatar Zitnik, Anze
Browse files

Fix timeout-checking Ansible task for wazuh manager

parent b8b95fe2
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@
- name: Check if timeout value is already inserted in systemctl service config
shell: grep -q TimeoutStartSec /usr/lib/systemd/system/wazuh-manager.service
register: grep_timeout
failed_when: grep_timeout.rc >= 2
- name: Increase systemctl service startup timeout
shell: sed -i 's/\\[Service\\]/\\[Service\\]\nTimeoutStartSec=300/' /usr/lib/systemd/system/wazuh-manager.service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment