The *aria2* role installs the *aria2* download manager and sets it up to run as a system service with RPC enabled. It also sets up the web UI, though that must be installed manually from an archive, for now.
13 lines
273 B
YAML
13 lines
273 B
YAML
- name: reload systemd
|
|
command: systemctl daemon-reload
|
|
- name: restart aria2
|
|
service:
|
|
name=aria2
|
|
state=restarted
|
|
- name: reload httpd
|
|
service:
|
|
name=httpd
|
|
state=reloaded
|
|
- name: save firewalld configuration
|
|
command: firewalld --runtime-to-permanent
|