Ansible
The Ansible role for Tenzir allows for easy integration of Tenzir into
existing Ansible setups. The role uses either the Tenzir Debian package or
the tarball installation method depending on which is appropriate for the
target environment. The role definition is in the
ansible/roles/tenzir
directory of the Tenzir
repository. You need a local copy of this directory so you can use it in your
playbook.
Example
This example playbook shows how to run a Tenzir service on the machine
example_tenzir_server
:
Variables
tenzir_config_dir
(required)
A path to directory containing a tenzir.yaml
relative to the playbook.
tenzir_read_write_paths
A list of paths that Tenzir shall be granted access to in addition to its own state and log directories.
tenzir_archive
A tarball of Tenzir structured like those that can be downloaded from the
GitHub Releases Page. This is used
for target distributions that are not based on the apt
package manager.
tenzir_debian_package
A Debian package (.deb
). This package is used for Debian and Debian-based
Linux distributions.