playbook_monitorix/monitorix.yml

34 lines
1017 B
YAML

---
###########################################################################
#
# This is the top level playbook for the 'monitorix' role.
#
# This role will install monitorix on the target host.
#
###########################################################################
#
# This playbook can be run using the following command line;
#
# ansible-playbook -i <inventory file | IP,> -e "monitorix_pkg=<pkg_name>" monitorix.yml
#
# ie,
# ansible-playbook -i 192.168.0.101, -e "monitorix_pkg=monitorix_3.13.1-izzy3_all.deb" monitorix.yml
#
###########################################################################
- hosts: all
gather_facts: true
remote_user: root
roles:
- role: monitorix
vars:
# Version of monitorix to install is found on
# https://monitorix.org
#
# Current (20211111) version is monitorix_3.13.1-izzy3_all.deb
# Current (20221231) version is monitorix_3.15.0-izzy1_all.deb
monitorix_pkg: "monitorix_3.15.0-izzy1_all.deb"
# EOF