services/siahsd: Install from Debian package
Some checks failed
Test / build (push) Failing after 57s

This commit is contained in:
polyfloyd 2025-05-09 14:34:44 +02:00
parent 4f6025849f
commit 3a0071abfa
6 changed files with 10 additions and 55 deletions

View file

@ -1,16 +1,15 @@
---
# TODO: Install and build
- name: Install siahsd
apt:
name: siahsd
- name: Create directories
ansible.builtin.file:
path: "{{ item }}"
path: /var/log/siahsd
state: directory
owner: siahsd
group: nogroup
mode: "0750"
with_items:
- /var/log/siahsd
- /var/lib/siahsd
- name: Install config file
ansible.builtin.template:
@ -21,19 +20,9 @@
mode: "0644"
notify: Restart siahsd
- name: Install service file
ansible.builtin.template:
src: siahsd.service
dest: /etc/systemd/system/siahsd.service
owner: root
group: root
mode: "0644"
notify: Restart siahsd
- name: Start siahsd
ansible.builtin.systemd:
name: siahsd
state: started
enabled: true
daemon_reload: true