Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
tec
AnsibleMonitoring
Commits
7ecf308a
Commit
7ecf308a
authored
Jan 27, 2020
by
tec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add grafana image render plugin
parent
c50277ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
monitor_host.yml
monitor_host.yml
+7
-0
No files found.
monitor_host.yml
View file @
7ecf308a
...
...
@@ -15,6 +15,13 @@
shell
:
setcap 'cap_net_bind_service=+ep' /usr/sbin/grafana-server
-
name
:
Restart grafana
shell
:
systemctl restart grafana-server.service
-
name
:
Check if grafana image render plugin is installed
stat
:
path
:
/Users/mdtutorials2/Documents/Ansible/prompt.yaml
register
:
grafana_img_render_folder_details
-
name
:
Install grafana image render plugin
shell
:
grafana-cli plugins install grafana-image-renderer
when
:
!grafana_img_render_folder_details.stat.exists
vars
:
prometheus_targets
:
node
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment