mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
add aria2
This commit is contained in:
parent
e51a9f41b4
commit
441876243c
3 changed files with 17 additions and 0 deletions
|
|
@ -83,6 +83,7 @@
|
|||
- { role: units, tags: ['units'], when: "units is defined" }
|
||||
- { role: logitech, tags: ['logitech'] }
|
||||
- { role: pydev, tags: ['pydev'] }
|
||||
- { role: aria2, tags: ['aria2'] }
|
||||
vars_prompt:
|
||||
- name: user_password
|
||||
prompt: "Enter desired user password"
|
||||
|
|
|
|||
3
roles/aria2/meta/main.yml
Normal file
3
roles/aria2/meta/main.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
dependencies:
|
||||
- { role: firejail }
|
||||
13
roles/aria2/tasks/main.yml
Normal file
13
roles/aria2/tasks/main.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- name: Install aria2
|
||||
pacman:
|
||||
name: aria2
|
||||
state: present
|
||||
|
||||
- name: Jail aria2
|
||||
file:
|
||||
src: /usr/bin/firejail
|
||||
dest: /usr/local/bin/aria2c
|
||||
state: link
|
||||
tags:
|
||||
- firejail
|
||||
Loading…
Add table
Add a link
Reference in a new issue