1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Initial Import

This commit is contained in:
Arky 2018-08-16 16:36:45 +07:00
parent fb0b793fc2
commit c27b6d31ae
3 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,32 @@
=====================
Transmission README
=====================
Transmission is a set of lightweight BitTorrent clients (in GUI, CLI and daemon form). All its incarnations feature a very simple, intuitive
interface on top on an efficient, cross-platform back-end.
In Internet in a box we are using transmission-daemon, transmission-cli and transmission-remote-cli.
#transmission-cli - lightweight BitTorrent client (command line programs)
#transmission-daemon - lightweight BitTorrent client (daemon)
#transmission-remote-cli - ncurses interface for the Transmission BitTorrent daemon
Access
------
You can access transmission using http://box/port or using the command line program.
Adding torrents
---------------
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.
$ transmission-remote-cli http://pantry.learningequality.org/downloads/ka-lite/0.17/content/ \
ka-lite-0.17-resized-videos-english.torrent
Troubleshooting
----------------

View file

@ -0,0 +1,6 @@
# The values here are defaults.
# To override them edit /etc/iiab/local_vars.yml
# Installation Variables
transmission_install: False
transmission_enabled: False

View file

@ -0,0 +1,25 @@
---
- name: Install Transmission daemon and cli-tools.
package:
name: "{{ item }}"
state: present
with_items:
- transmission-daemon
- transmission-remote-cli
- transmission-cli
- name: Add transmission to list of services at /etc/iiab/iiab.ini
ini_file:
dest: "{{ service_filelist }}"
section: transmission
option: "{{ item.option }}"
value: "{{ item.value }}"
with_items:
- option: name
value: transmission
- option: description
value: '"Transmission is a set of lightweight BitTorrent clients (in GUI, CLI and daemon form)."'
- option: transmission_enabled
value: "{{ transmission_enabled }}"
- option: transmission_install
value: "{{ transmission_install }}"