Rename Start job to Reboot. Fix markers on config file.

This commit is contained in:
Hyperling 2021-03-20 12:47:02 -05:00
parent 7eefa9aab2
commit 8c88dbbe8e

View File

@ -143,9 +143,9 @@
{{ telegraf_input_temp }} {{ telegraf_input_temp }}
marker: ';{mark} MANAGED BY ANSIBLE' marker: '{mark} # MANAGED BY ANSIBLE'
marker_begin: ';;;;;;;;;;;; BEGIN' marker_begin: '[global_tags]'
marker_end: ' END' marker_end: '; END'
state: present state: present
create: yes create: yes
@ -160,5 +160,6 @@
state: present state: present
disabled: no disabled: no
loop: loop:
- { "name": "Telegraf Start Job", "command": "{{ telegraf_cmd }}", "freq": "reboot"} - { "name": "Telegraf Start Job", "command": "# Deprecated", "freq": "reboot"}
- { "name": "Telegraf Reboot Job", "command": "{{ telegraf_cmd }}", "freq": "reboot"}
- { "name": "Telegraf Keep-Alive Job", "command": "{{ telegraf_restart }}", "freq": "hourly"} - { "name": "Telegraf Keep-Alive Job", "command": "{{ telegraf_restart }}", "freq": "hourly"}