Add FreeBSD support
This commit is contained in:
parent
39045ed5a0
commit
22dd9bfb3d
6 changed files with 60 additions and 21 deletions
31
tasks/telegraf-FreeBSD.yml
Normal file
31
tasks/telegraf-FreeBSD.yml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
# Server/Telegraf: Install and Setup Telegraf Monitoring - FreeBSD Version
|
||||
|
||||
- name: telegraf - Install telegraf
|
||||
become: yes
|
||||
ansible.builtin.package:
|
||||
name: telegraf
|
||||
state: latest
|
||||
|
||||
# # Install SNMP utilities for telegraf monitoring
|
||||
# - name: telegraf - Install SNMP utilities
|
||||
# become: yes
|
||||
# ansible.builtin.package:
|
||||
# name: "{{ packages }}"
|
||||
# state: present
|
||||
# vars:
|
||||
# packages:
|
||||
# - snmp
|
||||
# - snmp-mibs-downloader
|
||||
# when: telegraf_ubnt_ns_ips is defined
|
||||
|
||||
- name: telegraf - Install SNMP utilities
|
||||
become: yes
|
||||
ansible.builtin.package:
|
||||
name: "{{ packages }}"
|
||||
state: present
|
||||
vars:
|
||||
packages:
|
||||
- snmp
|
||||
- snmp-mibs-downloader
|
||||
when: telegraf_ubnt_ns_ips is defined
|
||||
Loading…
Add table
Add a link
Reference in a new issue