ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

commit 69fc93230176850bee03854f1d5ac4495be52d1a
parent 2206358cc63d03acdb54d9e6579f4ed3d30068fd
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Mon,  6 May 2019 01:58:39 +0300

inventory: Install Grafana on debianprometheus

Diffstat:
ansible/inventory/host_vars/debianprometheus/apt.yml | 6++++++
ansible/inventory/host_vars/debianprometheus/apt_install.yml | 3+++
ansible/inventory/host_vars/debianprometheus/apt_preferences.yml | 5+++++
3 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/ansible/inventory/host_vars/debianprometheus/apt.yml b/ansible/inventory/host_vars/debianprometheus/apt.yml @@ -0,0 +1,6 @@ +--- + +apt__host_keys: + - url: 'https://packages.grafana.com/gpg.key' +apt__host_repositories: + - repo: 'deb https://packages.grafana.com/oss/deb stable main' diff --git a/ansible/inventory/host_vars/debianprometheus/apt_install.yml b/ansible/inventory/host_vars/debianprometheus/apt_install.yml @@ -0,0 +1,3 @@ +--- + +apt_install__host_packages: ['grafana', 'prometheus'] diff --git a/ansible/inventory/host_vars/debianprometheus/apt_preferences.yml b/ansible/inventory/host_vars/debianprometheus/apt_preferences.yml @@ -0,0 +1,5 @@ +--- + +apt_preferences__host_list: + - package: 'prometheus' + backports: ['stretch']