mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Only restart container when docker is the target platform
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
docker_container:
|
||||
name: "{{ telegraf_agent_docker_name }}"
|
||||
restart: True
|
||||
when: telegraf_agent_docker
|
||||
|
||||
- name: "Restart Windows Telegraf"
|
||||
win_service:
|
||||
|
Reference in New Issue
Block a user