mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
add cache_valid_time
- influx keep only last version on they repo set cache_valid_time to 15mintutes to avoid fail install of old telegraf version
This commit is contained in:
@ -49,6 +49,7 @@
|
||||
apt:
|
||||
name: "{{ telegraf_agent_package }}"
|
||||
state: "{{ telegraf_agent_package_state }}"
|
||||
cache_valid_time: 900
|
||||
force: True
|
||||
notify: "Restart Telegraf"
|
||||
become: yes
|
||||
|
Reference in New Issue
Block a user