Skip to content

Commit

Permalink
dashboard tweak. cleaner ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
sudermanjr committed Feb 26, 2023
1 parent fdf9c00 commit 4f3556e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions hack/ansible/playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,9 @@
owner: root
group: root
mode: '0755'
- name: systemctl daemon-reload
become: true
ansible.builtin.systemd:
daemon_reload: true
- name: systemctl start led-controller
become: true
ansible.builtin.systemd:
name: led-controller
state: started
daemon_reload: true
state: restarted
2 changes: 1 addition & 1 deletion pkg/dashboard/templates/dashboard.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<input type="submit" value="set" id="control-submit" />
</form>
<form action="/button/power" method="post" id="power-button">
<button type="submit">Power Button</button>
<input type="submit" value="on/off" />
</form>
</div>

Expand Down

0 comments on commit 4f3556e

Please sign in to comment.