Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Very Demiurge Very Mindful
Kolla Ansible
Commits
a6cd7832
Commit
a6cd7832
authored
7 years ago
by
Jenkins
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Grafana post_config checks only need to run locally"
parents
63ec84d7
bb1b0857
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/grafana/tasks/post_config.yml
+3
-1
3 additions, 1 deletion
ansible/roles/grafana/tasks/post_config.yml
with
3 additions
and
1 deletion
ansible/roles/grafana/tasks/post_config.yml
+
3
−
1
View file @
a6cd7832
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
-
name
:
Enable influxdb datasource
-
name
:
Enable influxdb datasource
uri
:
uri
:
url
:
"
{{
internal_protocol
}}://{{
api
_inter
face
_address
}}:{{
grafana_server_port
}}/api/datasources"
url
:
"
{{
internal_protocol
}}://{{
kolla
_inter
nal_vip
_address
}}:{{
grafana_server_port
}}/api/datasources"
method
:
POST
method
:
POST
user
:
admin
user
:
admin
password
:
"
{{
grafana_admin_password
}}"
password
:
"
{{
grafana_admin_password
}}"
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
force_basic_auth
:
yes
force_basic_auth
:
yes
status_code
:
200,
409
status_code
:
200,
409
register
:
response
register
:
response
run_once
:
True
connection
:
local
when
:
grafana_data_source is defined
when
:
grafana_data_source is defined
changed_when
:
response.status ==
200
changed_when
:
response.status ==
200
failed_when
:
response.status not in [200, 409] or
failed_when
:
response.status not in [200, 409] or
...
...
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