ansible-roles/roles/zabbix_agent/tasks/service.yml

5 lines
152 B
YAML
Raw Normal View History

2021-12-01 19:13:34 +01:00
---
- name: Start Zabbix Agent
2022-01-24 12:00:19 +01:00
service: name={{ zabbix_agent2 | ternary('zabbix-agent2', 'zabbix-agent') }} state=started enabled=True
2021-12-01 19:13:34 +01:00
tags: zabbix