mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Enable adding multiple language torrents.
You can add multiple ka-lite language downloads by using provisioning system. Also added notes to the readme file.
This commit is contained in:
parent
6e84639902
commit
7de870d611
3 changed files with 25 additions and 8 deletions
|
@ -22,9 +22,12 @@ Password: changeme
|
|||
|
||||
The torrents are added by provisioning system based on the variables. You can also add
|
||||
your own torrent using web UI or command-line option.
|
||||
s
|
||||
$ transmission-remote -a <path_to_the.torrent>
|
||||
|
||||
$ transmission-remote -a http://pantry.learningequality.org/downloads/ka-lite/0.17/content/ka-lite-0.17-resized-videos-english.torrent
|
||||
|
||||
Known Issues
|
||||
-------------
|
||||
Currently it is not possible to use random ports in the range 65535-49152. It is difficult to open multiple ports in IIAB firewall.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -5,12 +5,20 @@
|
|||
transmission_install: False
|
||||
transmission_enabled: False
|
||||
|
||||
# Provision Transmission with default torrents
|
||||
# Provision Transmission with default torrents from http://pantry.learningequality.org/downloads/ka-lite/0.17/content/
|
||||
transmission_provision: True
|
||||
transmission_kalite_version: 0.17
|
||||
# Uncomment to enable a language to download.
|
||||
transmission_kalite_languages:
|
||||
- "english"
|
||||
- "french"
|
||||
- "hindi"
|
||||
- "portugal-portuguese"
|
||||
- "brazilian-portuguese"
|
||||
- "spanish"
|
||||
- "swahili"
|
||||
|
||||
transmission_KaLite-Version: 0.17
|
||||
transmission_KaLite-Languages: English
|
||||
|
||||
# Transmission default download directory.
|
||||
transmission_download_dir: /library/transmission
|
||||
|
||||
#TODO Open this port to WAN.
|
||||
|
|
|
@ -40,8 +40,14 @@
|
|||
when: transmission_enabled
|
||||
|
||||
# TODO Make this loop transmission_KaLite-Languages
|
||||
- name: Add a torrent Ka-Lite English
|
||||
shell: transmission-remote -a http://pantry.learningequality.org/downloads/ka-lite/0.17/content/ka-lite-0.17-resized-videos-english.torrent
|
||||
#- name: Add a torrent Ka-Lite English
|
||||
# shell: transmission-remote -a http://pantry.learningequality.org/downloads/ka-lite/0.17/content/ka-lite-0.17-resized-videos-english.torrent
|
||||
# ignore_errors: yes
|
||||
# when: transmission_provision
|
||||
|
||||
- name: Add ka-lite torrents
|
||||
shell: /usr/bin/transmission-remote -a http://pantry.learningequality.org/downloads/ka-lite/"{{ transmission_kalite_version }}"/content/ka-lite-0.17-resized-videos-"{{ transmission_kalite_languages }}".torrent
|
||||
with_items: "{{ transmission_kalite_languages }}"
|
||||
ignore_errors: yes
|
||||
when: transmission_provision
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue