Skip to content

Commit

Permalink
Fix spacing for telegraf_plugins_extra example in readme.md (#143)
Browse files Browse the repository at this point in the history
The spacing for the telegraf_plugins_extra section (lines 273-276) in readme.md was too indented, corrected spacing to hopefully be valid YML.
  • Loading branch information
isclever committed Mar 5, 2021
1 parent ecce0ed commit 0ca3c1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ The 2nd parameter `telegraf_plugins_extra` can be used to add plugins specific t

cat group_vars/mysql_database
telegraf_plugins_extra:
mysql:
config:
- servers = ["root:{{ mysql_root_password }}@tcp(localhost:3306)/"]
mysql:
config:
- servers = ["root:{{ mysql_root_password }}@tcp(localhost:3306)/"]

There is an option to delete extra-plugin files in /etc/telegraf/telegraf.d if they weren't generated by this playbook with `telegraf_plugins_extra_exclusive` variable.

Expand Down

0 comments on commit 0ca3c1d

Please sign in to comment.