style: Add ansible-lint
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
0063f2157c
commit
38fef42aa6
23 changed files with 128 additions and 58 deletions
|
@ -3,6 +3,7 @@
|
|||
ansible.builtin.template:
|
||||
src: telegraf/influxdata.list.j2
|
||||
dest: /etc/apt/sources.list.d/influxdata.list
|
||||
mode: '0644'
|
||||
|
||||
- name: Download influxdata APT key
|
||||
ansible.builtin.apt_key:
|
||||
|
@ -15,12 +16,14 @@
|
|||
- telegraf
|
||||
- lm-sensors
|
||||
update_cache: true
|
||||
state: latest
|
||||
|
||||
- name: Generate telegraf configurations
|
||||
ansible.builtin.template:
|
||||
src: "telegraf/{{ item }}.conf.j2"
|
||||
dest: "/etc/telegraf/telegraf.d/{{ item }}.conf"
|
||||
mode: '0640'
|
||||
owner: root
|
||||
group: telegraf
|
||||
loop:
|
||||
- inputs
|
||||
- output
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue