Configurable ansible role for installing ZoneMinder. To that end we will use the repos by the spins-invis project mysql/mariadb is used for the database. The setup of mysql and a webserver requires separate ansible roles.
- openSUSE Leap 15.4 -> tested
You can set the following variables to configure the role. Here listed are the variables and their default settings.
Value | Description | Default |
---|---|---|
zm_domain |
The domain used by ZoneMinder | "zm.example.org" |
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: jellyfish
roles:
- { role: geekoops-zoneminder, zm_domain: "zm.example.org"}
An advanced example for the imaginary jellyfish
test server
- hosts: jellyfish
roles:
- role: geekoops-drupal
vars:
drupal_db_user: "drupal-user"
drupal_db_pw: "1234abcd"
A good resource for checking the fpm configuration is here: https://wiki.gentoo.org/wiki/ZoneMinder
MIT