initial checkin
This commit is contained in:
commit
a3d51b377d
|
@ -0,0 +1,6 @@
|
|||
# Ansible Role: monitorix
|
||||
|
||||
## Introduction
|
||||
|
||||
This role will install the monitorix system monitoring application.
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
galaxy_info:
|
||||
author: radar231
|
||||
|
||||
license: license (GPL-2.0-or-later, MIT, etc)
|
||||
min_ansible_version: 2.1
|
||||
galaxy_tags: []
|
||||
dependencies: []
|
||||
|
||||
# EOF
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
###########################################################
|
||||
#
|
||||
# This role will install the monitorix system monitoring
|
||||
# application.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
###########################################################
|
||||
# tasks file for monitorix
|
||||
|
||||
- name: Retrieve the monitorix deb package from monitorix.org
|
||||
get_url:
|
||||
url: "https://www.monitorix.org/{{ monitorix_pkg }}"
|
||||
dest: "/tmp/{{ monitorix_pkg }}"
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: Install monitorix deb package
|
||||
apt:
|
||||
deb: "/tmp/{{ monitorix_pkg }}"
|
||||
state: present
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS" or ansible_distribution == "Linux Mint"
|
||||
|
||||
# EOF
|
Loading…
Reference in New Issue