change templates paths and add systemd at the end
This commit is contained in:
parent
2ce73320df
commit
6c69a8b734
1 changed files with 6 additions and 6 deletions
|
@ -10,14 +10,9 @@
|
|||
notify:
|
||||
- restart zabbix_agent
|
||||
|
||||
- name: "[Agent] - Make sure the service is enabled"
|
||||
systemd:
|
||||
name: zabbix-agent
|
||||
enabled: yes
|
||||
|
||||
- name: "[Agent] - Deploy Zabbix custom userparameters"
|
||||
template:
|
||||
src: 'zabbix_agent.d/userparameter_container.conf.j2'
|
||||
src: 'templates/etc/zabbix/zabbix_agent.d/userparameter_container.conf.j2'
|
||||
dest: '/etc/zabbix/zabbix_agentd.d/userparameter_container.conf'
|
||||
notify:
|
||||
- restart zabbix_agent
|
||||
|
@ -41,3 +36,8 @@
|
|||
src: 'zabbix-scripts.cfg.j2'
|
||||
dest: '/var/local/container-scripts/zabbix-scripts.cfg'
|
||||
when: zabbix_scripts_deploy == 'true'
|
||||
|
||||
- name: "[Agent] - Make sure the service is enabled"
|
||||
systemd:
|
||||
name: zabbix-agent
|
||||
enabled: yes
|
Loading…
Reference in a new issue