Linter + Dashboard fixes
This commit is contained in:
parent
e1bf3e1765
commit
abc64144a8
44 changed files with 265 additions and 379 deletions
|
@ -7,6 +7,7 @@
|
|||
state: directory
|
||||
owner: siahsd
|
||||
group: nogroup
|
||||
mode: "0750"
|
||||
with_items:
|
||||
- /var/log/siahsd
|
||||
- /var/lib/siahsd
|
||||
|
@ -17,8 +18,8 @@
|
|||
dest: /etc/siahsd.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart siahsd
|
||||
mode: "0644"
|
||||
notify: Restart siahsd
|
||||
|
||||
- name: Install service file
|
||||
ansible.builtin.template:
|
||||
|
@ -26,24 +27,13 @@
|
|||
dest: /etc/systemd/system/siahsd.service
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart siahsd
|
||||
mode: "0644"
|
||||
notify: Restart siahsd
|
||||
|
||||
- name: Start siahsd
|
||||
ansible.builtin.systemd:
|
||||
name: siahsd
|
||||
state: started
|
||||
enabled: yes
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
|
||||
- name: Allow siahsd traffic
|
||||
ansible.builtin.iptables:
|
||||
chain: INPUT
|
||||
protocol: udp
|
||||
destination_port: "4000"
|
||||
jump: ACCEPT
|
||||
ip_version: "{{ item }}"
|
||||
action: insert
|
||||
with_items: [ ipv4, ipv6 ]
|
||||
notify: persist iptables
|
||||
when: not nft | bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue