Add quotes.
This commit is contained in:
parent
9250767d10
commit
e143e55b2e
@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
- name: Server | Telegraf | Config
|
- name: Server | Telegraf | Config
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: {{ telegraf_config }}
|
path: "{{ telegraf_config }}"
|
||||||
block: |
|
block: |
|
||||||
[global_tags]
|
[global_tags]
|
||||||
# dc = "us-east-1" # will tag all metrics with dc=us-east-1
|
# dc = "us-east-1" # will tag all metrics with dc=us-east-1
|
||||||
@ -153,11 +153,11 @@
|
|||||||
|
|
||||||
- name: Server | Telegraf | Start
|
- name: Server | Telegraf | Start
|
||||||
shell: "{{ telegraf_restart }}"
|
shell: "{{ telegraf_restart }}"
|
||||||
become_user: {{ telegraf_user }}
|
become_user: "{{ telegraf_user }}"
|
||||||
|
|
||||||
- name: Server | Telegraf | Schedule
|
- name: Server | Telegraf | Schedule
|
||||||
cron:
|
cron:
|
||||||
user: {{ telegraf_user }}
|
user: "{{ telegraf_user }}"
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
job: "{{ item.command }}"
|
job: "{{ item.command }}"
|
||||||
special_time: "{{ item.freq }}"
|
special_time: "{{ item.freq }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user