Browse Source

Merge branch 'wip-grafana' into 'master'

icinga: retry network interactions with grafana repos

See merge request main/infrastructure!397
keep-around/8256e0089f222010d8409082005dc216b8d73203
Loïc Dachary 4 months ago
parent
commit
8256e0089f
  1. 16
      playbooks/icinga/roles/icinga2_grafana/tasks/main.yml

16
playbooks/icinga/roles/icinga2_grafana/tasks/main.yml

@ -8,16 +8,28 @@
- name: apt-key https://repos.influxdata.com/influxdb.key
apt_key:
url: https://repos.influxdata.com/influxdb.key
register: result
until: result is success
retries: 5
delay: 1
- name: deb https://repos.influxdata.com/debian buster stable
apt_repository:
repo: deb https://repos.influxdata.com/debian buster stable
state: present
register: result
until: result is success
retries: 5
delay: 1
- name: apt-get install influxdb
apt:
name: "influxdb={{ icinga_influxdb_version }}"
state: present
register: result
until: result is success
retries: 5
delay: 1
- name: systemctl enable influxdb
service:
@ -29,6 +41,10 @@
apt:
name: python-influxdb
state: present
register: result
until: result is success
retries: 5
delay: 1
- name: influxdb create database
influxdb_database:

Loading…
Cancel
Save