initial checkin
This commit is contained in:
commit
9d22796658
|
@ -0,0 +1,19 @@
|
|||
# monitorix playbook
|
||||
|
||||
## Introduction
|
||||
|
||||
This is the top level playbook for the 'monitorix' role, and will install
|
||||
monitorix on the target host.
|
||||
|
||||
The role requires that the 'monitorix_pkg" variable be set
|
||||
|
||||
This variable will hold the name of the desired package to install from
|
||||
https://www.monitorix.org.
|
||||
|
||||
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
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
###########################################################################
|
||||
#
|
||||
# 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.deb1.28.2
|
||||
monitorix_pkg: "monitorix_3.13.1-izzy3_all.deb"
|
||||
|
||||
# EOF
|
Loading…
Reference in New Issue