2021-11-11 08:58:26 -05:00
|
|
|
---
|
|
|
|
###########################################################################
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
#
|
2022-12-31 23:28:39 -05:00
|
|
|
# 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"
|
2021-11-11 08:58:26 -05:00
|
|
|
|
|
|
|
# EOF
|