Skip to content

Commit

Permalink
clarify dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Mar 3, 2024
1 parent c383b28 commit 10cdbcf
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions dashboards.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,19 @@ Example configuration
[source,yaml]
.`config.yaml`
----
dashboards:
- title: My Servers
# Actions MUST be defined in the actions section, not in the dashboards
# section. The dashboards only "link" to actions.
actions:
- title: Ping All Servers
shell: echo "ping all..."
- title: '{{ server.name }} Wake on Lan'
shell: 'wol {{ server.name }}'
timeout: 10
- title: '{{ server.name }} Power Off'
shell: 'ssh root@{{ server.name}} "poweroff"'
timeout: 10
# Dashboards are a way of taking actions from the default "actions" view, and
Expand Down

0 comments on commit 10cdbcf

Please sign in to comment.