You might be able to drink it in an emergency, but you might still die.
This repo is an Ansible collection containing some of my own Ansible plugins that died in the PR phase, and have instead been moved to this festering repository.
to_ini
- Convert hash/map/dict to INI formatfrom_ini
- Convert INI to hash/map/dictto_toml
- Convert hash/map/dict to TOML formatfrom_toml
- Convert TOML to hash/map/dictjq
- Parse JSON usingjq
passlib_hash
- Hash passwords usingpasslib
exec_binary_module
- A proxy action, to execute binary modules
speedtest
- Tests internet bandwidth using speedtest.net
cert_locations
- Report CA cert locations used by Ansible
substring
- Search for substring in file
dump_stats
- Callback to dump to stats fromset_stat
to a JSON filecprofile
- UsescProfile
to profile the python execution of ansible
cprofile
- Noop inventory plugin used to enable cProfile as early as possible
Generally speaking, most users should not even know they are interacting with exec_binary_module
, but instead should be using the name of an underlying binary module implementation.
To achieve this, requires a small addition to a collections meta/runtime.yml
:
plugin_routing:
modules:
helloworld:
action_plugin: sivel.toiletwater.exec_binary_module
another_module:
action_plugin: sivel.toiletwater.exec_binary_module
At which point, with modules named something like helloworld_linux_amd64
a user would only have to do the following:
- namespace.name.helloworld:
name: sivel
- namespace.name.another_module:
some_argument: true