Automated changes from linter ;P

This commit is contained in:
Mark Janssen 2024-07-11 20:47:52 +02:00
parent 44b73a216f
commit f7f04e7a41
Signed by: foobar
GPG key ID: D8674D8FC4F69BD2
65 changed files with 392 additions and 324 deletions

View file

@ -2,7 +2,7 @@
# TODO: Install and build
- name: Create directories
file:
ansible.builtin.file:
path: "{{ item }}"
state: directory
owner: siahsd
@ -12,7 +12,7 @@
- /var/lib/siahsd
- name: Install config file
template:
ansible.builtin.template:
src: siahsd.conf
dest: /etc/siahsd.conf
owner: root
@ -21,7 +21,7 @@
notify: restart siahsd
- name: Install service file
template:
ansible.builtin.template:
src: siahsd.service
dest: /etc/systemd/system/siahsd.service
owner: root
@ -30,14 +30,14 @@
notify: restart siahsd
- name: Start siahsd
systemd:
ansible.builtin.systemd:
name: siahsd
state: started
enabled: yes
daemon_reload: true
- name: Allow siahsd traffic
iptables:
ansible.builtin.iptables:
chain: INPUT
protocol: udp
destination_port: "4000"