librenms_containerized
ansible-librenms-containerized
An all-in one Ansible MariaDB and LibreNMS Deployment
NOTE: This is a docker container deployment
Requirements
- Docker
- Python
- Python-Pip
- Ansible 2.2+
Role Variables
Required variables:
librenms:
app_key: "base64:Q0+ZV56/5Uwz79vsvS4ZfwQFOty3e9DJEouEy+IXvz8="
base_url: "http://librenms.sd.dreamhost.com/"
Replace "base64:Q0+ZV56/5Uwz79vsvS4ZfwQFOty3e9DJEouEy+IXvz8=" with your own app key
Other variables can be set in defaults/all.yml file:
Dependencies
Recommended to use the following roles:
- name: geerlingguy.docker
- name: geerlingguy.pip
First run gotchas
Before Running this role
You must obtain an app key for librenms docker, this can be done by running the following:
docker run --rm jarischaefer/docker-librenms generate_key
Example Playbook
- name: Setup LibreNMS Server
hosts: librenms
become: true
tags: librenms
tasks:
- name: include docker role
include_role:
name: geerlingguy.docker
- name: include pip role
include_role:
name: geerlingguy.pip
vars:
pip_install_packages:
- name: docker
- name: include librenms role
include_role:
name: nertwork.librenms_containerized
Install
ansible-galaxy install nertwork/librenms_containerized
License
other
Downloads
30511
Owner