Skip to content
Snippets Groups Projects
Verified Commit fe206181 authored by me5na7qbjqbrp's avatar me5na7qbjqbrp
Browse files

[grafana] Fix missing retry

parent 8c7d6c3d
No related branches found
No related tags found
1 merge request!6Grafana
......@@ -4,12 +4,18 @@
name: apt-transport-https
state: present
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Import Grafana GPG signing key
apt_key:
url: https://packages.grafana.com/gpg.key
state: present
validate_certs: false
register: apt_key_result
retries: 3
until: apt_key_result is succeeded
- name: Add Grafana repository
apt_repository:
......@@ -21,6 +27,9 @@
apt:
name: grafana
state: present
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Configure Grafana
ini_file:
......@@ -28,7 +37,7 @@
section: "{{ item.section }}"
option: "{{ item.option }}"
value: "{{ item.value }}"
mode: 640
mode: 0640
loop:
- section: server
option: root_url
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment