Remove 's' from module name.

This commit is contained in:
Hyperling 2021-03-20 12:07:56 -05:00
parent e143e55b2e
commit eaed30efa5

View File

@ -5,7 +5,7 @@
# Variables # # Variables #
- name: Server | Telegraf | Variables 1/3 - name: Server | Telegraf | Variables 1/3
set_facts: set_fact:
telegraf_tar: telegraf-1.18.0_linux_amd64.tar.gz telegraf_tar: telegraf-1.18.0_linux_amd64.tar.gz
telegraf_config: /usr/local/etc/telegraf.conf telegraf_config: /usr/local/etc/telegraf.conf
telegraf_exec: /usr/local/bin/telegraf telegraf_exec: /usr/local/bin/telegraf
@ -13,20 +13,20 @@
telegraf_log: "{{ user_ansible.home }}/telegraf.log" telegraf_log: "{{ user_ansible.home }}/telegraf.log"
- name: Server | Telegraf | Variables 2/3 - name: Server | Telegraf | Variables 2/3
set_facts: set_fact:
telegraf_cmd: "{{ telegraf_exec }} --config {{ telegraf_config }} >> {{ telegraf_log }} 2>&1" telegraf_cmd: "{{ telegraf_exec }} --config {{ telegraf_config }} >> {{ telegraf_log }} 2>&1"
- name: Server | Telegraf | Variables 3/3 - name: Server | Telegraf | Variables 3/3
set_facts: set_fact:
telegraf_restart: "killall telegraf; {{ telegraf_cmd }}" telegraf_restart: "killall telegraf; {{ telegraf_cmd }}"
- name: Server | Telegraf | Variables | Linux - name: Server | Telegraf | Variables | Linux
set_facts: set_fact:
telegraf_input_temp: "[[inputs.temp]]" telegraf_input_temp: "[[inputs.temp]]"
when: ansible_system == "Linux" when: ansible_system == "Linux"
- name: Server | Telegraf | Variables | FreeBSD - name: Server | Telegraf | Variables | FreeBSD
set_facts: set_fact:
telegraf_input_temp: "" telegraf_input_temp: ""
when: ansible_system == "FreeBSD" when: ansible_system == "FreeBSD"