$darkmode
Elektra 0.11.0
|
Provides a write-only storage plugin for use with kdb export
and kdb record-export
. The output format is an Ansible playbook that utilized the ansible-libelektra module.
Keys that possess the metakey meta:/elektra/removed
will be removed using the remove
option in ansible-libelektra.
You can use the following configuration keys to modify the behavior and output of the plugin:
Key | Default Value | Description |
---|---|---|
playbook | 1 | Whether to generate a whole playbook or just a (list of) task(s) (0 ) |
playbook/name | My Elektra Playbook | The name property of the playbook |
playbook/hosts | all | The hosts property of the playbook |
task/main/name | Set Elektra Keys | The name of the 'main' task of the playbook |
This plugin requires yaml-cpp. On a Debian based OS the package for the library is called libyaml-cpp-dev
. On macOS you can install the package yaml-cpp
via HomeBrew.
system:/elektra/mountpoints
are included, we will always create a second task for them instead of using the mount
operation of the ansible-libelektra module. This task will be created first. Keys created during the 'main' task will then already be able to use the correctly mounted files.