mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
Customize a given TOML file
The example takes the configuration of a Gitlab runner as example just because it is a TOML file with known values.
Requirements
-
Matt Martz (sivel)'s
toiletwaterAnsible collection.
Needed to have access to filters liketo_toml.ansible-galaxy collection install 'sivel.toiletwater' -
Python's 'toml' library
Needed to read from and write to TOML files.pip install --user 'toml' brew install 'python-toml'
Output
See the desired result and the effective output.
Not perfect, but still good enough.