Use true instead of yes.
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
###
|
||||
###- name: General | Telegraf | Config 1/2
|
||||
### shell: mv {{ telegraf_config }} ~/TRASH/
|
||||
### ignore_errors: yes
|
||||
### ignore_errors: true
|
||||
###
|
||||
###- name: General | Telegraf | Config 2/2
|
||||
### blockinfile:
|
||||
@@ -158,7 +158,7 @@
|
||||
###
|
||||
### marker: '# {mark} MANAGED BY ANSIBLE - telegraf.yml'
|
||||
### state: present
|
||||
### create: yes
|
||||
### create: true
|
||||
|
||||
# Run #
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
special_time: "{{ item.freq }}"
|
||||
state: present
|
||||
#disabled: "{{ 'yes' if no_telem else 'no' }}"
|
||||
disabled: yes # 2024-01-25, Downsizing again and will not have Graphana.
|
||||
disabled: true # 2024-01-25, Downsizing again and will not have Graphana.
|
||||
loop:
|
||||
- { "name": "Telegraf Reboot Job" , "freq": "reboot", "command": "{{ telegraf_cmd }}"}
|
||||
- { "name": "Telegraf Keep-Alive Job", "freq": "hourly", "command": "{{ telegraf_watcher }}"}
|
||||
|
||||
Reference in New Issue
Block a user