[TIDY] move when statements, fix whitespace
Having the when condition of a task at the top instead of bottom is easiert to read. Also some spaces were another whitespace character on accident.
This commit is contained in:
parent
1de4e4ef24
commit
a0ac0a67a7
13 changed files with 54 additions and 60 deletions
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
# # Install SNMP utilities for telegraf monitoring
|
||||
# - name: telegraf - Install SNMP utilities
|
||||
# when: telegraf_ubnt_ns_ips is defined
|
||||
# become: yes
|
||||
# ansible.builtin.package:
|
||||
# name: "{{ packages }}"
|
||||
|
|
@ -17,9 +18,9 @@
|
|||
# packages:
|
||||
# - snmp
|
||||
# - snmp-mibs-downloader
|
||||
# when: telegraf_ubnt_ns_ips is defined
|
||||
|
||||
- name: telegraf - Install SNMP utilities
|
||||
when: telegraf_ubnt_ns_ips is defined
|
||||
become: yes
|
||||
ansible.builtin.package:
|
||||
name: "{{ packages }}"
|
||||
|
|
@ -28,4 +29,3 @@
|
|||
packages:
|
||||
- snmp
|
||||
- snmp-mibs-downloader
|
||||
when: telegraf_ubnt_ns_ips is defined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue