Automated changes from linter ;P
This commit is contained in:
parent
44b73a216f
commit
f7f04e7a41
65 changed files with 392 additions and 324 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue