mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 14:20:04 -07:00
Adding a new filter: to_ini, which allows conversion of a dictionary to an INI formatted string (#7744)
* Adding a new filter: to_ini, which allows conversion of a dictionary to an INI formatted string * Adding to_ini maintainers into BOTMETA * Correcting filter suffix * Moving filter to correct path * Adding error handling; Removing quotes from examples; Fixing RETURN documentation * Removing the last newline char; Adding error handling for an empty dict * Adding integration tests for to_ini * Fixing F-String usage * Fixing formatting * Fixing whitespace * Moving import statements below documentation; Adding a more generic Exception handling; Removing unused imports * Removing not needed set_fact and replacing it with using vars: * Replacing MutableMapping with Mapping
This commit is contained in:
parent
f79940c415
commit
ec12422fae
4 changed files with 173 additions and 0 deletions
2
.github/BOTMETA.yml
vendored
2
.github/BOTMETA.yml
vendored
|
@ -158,6 +158,8 @@ files:
|
|||
maintainers: resmo
|
||||
$filters/to_hours.yml:
|
||||
maintainers: resmo
|
||||
$filters/to_ini.py:
|
||||
maintainers: sscheib
|
||||
$filters/to_milliseconds.yml:
|
||||
maintainers: resmo
|
||||
$filters/to_minutes.yml:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue