services: Add flipdot

This commit is contained in:
polyfloyd 2022-10-26 19:11:16 +02:00
parent cdc9f519f0
commit 2d22a6e769
7 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,28 @@
---
- name: Install flipdot scripts
template:
src: "{{ item }}"
dest: "/usr/local/bin/{{ item }}"
owner: root
group: root
mode: 0755
notify: restart flipdot
with_items:
- flipdot-reboot.sh
- flipdot-time.sh
- name: Install flipdot service
template:
src: flipdot.service
dest: /etc/systemd/system/flipdot.service
owner: root
group: root
mode: 0644
notify: restart flipdot
- name: Start flipdot
systemd:
name: flipdot
state: started
enabled: yes
daemon_reload: true

View file

@ -1,4 +1,7 @@
---
- tags: services_flipdot
import_tasks: flipdot.yaml
- tags: services_siahsd
import_tasks: siahsd.yaml