Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
fe206181
Verified
Commit
fe206181
authored
5 years ago
by
me5na7qbjqbrp
Browse files
Options
Downloads
Patches
Plain Diff
[grafana] Fix missing retry
parent
8c7d6c3d
No related branches found
Branches containing commit
No related tags found
1 merge request
!6
Grafana
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/grafana/tasks/main.yml
+10
-1
10 additions, 1 deletion
roles/grafana/tasks/main.yml
with
10 additions
and
1 deletion
roles/grafana/tasks/main.yml
+
10
−
1
View file @
fe206181
...
...
@@ -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
:
0
640
loop
:
-
section
:
server
option
:
root_url
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment