Remove 's' from module name.
This commit is contained in:
parent
e143e55b2e
commit
eaed30efa5
@ -5,7 +5,7 @@
|
||||
# Variables #
|
||||
|
||||
- name: Server | Telegraf | Variables 1/3
|
||||
set_facts:
|
||||
set_fact:
|
||||
telegraf_tar: telegraf-1.18.0_linux_amd64.tar.gz
|
||||
telegraf_config: /usr/local/etc/telegraf.conf
|
||||
telegraf_exec: /usr/local/bin/telegraf
|
||||
@ -13,20 +13,20 @@
|
||||
telegraf_log: "{{ user_ansible.home }}/telegraf.log"
|
||||
|
||||
- name: Server | Telegraf | Variables 2/3
|
||||
set_facts:
|
||||
set_fact:
|
||||
telegraf_cmd: "{{ telegraf_exec }} --config {{ telegraf_config }} >> {{ telegraf_log }} 2>&1"
|
||||
|
||||
- name: Server | Telegraf | Variables 3/3
|
||||
set_facts:
|
||||
set_fact:
|
||||
telegraf_restart: "killall telegraf; {{ telegraf_cmd }}"
|
||||
|
||||
- name: Server | Telegraf | Variables | Linux
|
||||
set_facts:
|
||||
set_fact:
|
||||
telegraf_input_temp: "[[inputs.temp]]"
|
||||
when: ansible_system == "Linux"
|
||||
|
||||
- name: Server | Telegraf | Variables | FreeBSD
|
||||
set_facts:
|
||||
set_fact:
|
||||
telegraf_input_temp: ""
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user