* Support for sub_inputs in extra plugins
* fix: properly handle lists as TOML arrays
- Updated the Jinja template to detect and serialize lists using |to_json,
ensuring Telegraf interprets them correctly (e.g. names = ["item1","item2"]).
- Removed fallback logic for single items, so we consistently treat all sub_input
values as lists of dictionaries.
---------
Co-authored-by: Michał Lisowski <mlisowski@sentient.ie>
- Added some commenting inside of defaults to clarify which variables
adjust which files
- Split up the role taking items out of main.yml in tasks. This is to
improve clarity of what each bit of Ansible code is doing.
- Tags were defined for each and every task within the Debian.yml moved
ths up to main.yml so they don't need repeating every task adding
clutter.
- Added some extra default plugins, as of current release version these
are now within the default configuration but were missing from this
role.
- Added some commenting inside the templates and the top of some tasks
to clarify where the templated file was coming from.