mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Disable Transmission daemon and update variables
This commit is contained in:
parent
62ed40a792
commit
e89f1eb9d7
1 changed files with 12 additions and 6 deletions
|
@ -39,18 +39,20 @@
|
||||||
enabled: yes
|
enabled: yes
|
||||||
when: transmission_enabled
|
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
|
|
||||||
# ignore_errors: yes
|
|
||||||
# when: transmission_provision
|
|
||||||
|
|
||||||
- name: Add ka-lite torrents
|
- 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 | to_json }}.torrent
|
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 | to_json }}.torrent
|
||||||
with_items: "{{ transmission_kalite_languages }}"
|
with_items: "{{ transmission_kalite_languages }}"
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
when: transmission_provision
|
when: transmission_provision
|
||||||
|
|
||||||
|
- name: Disable Transmission daemon service.
|
||||||
|
service:
|
||||||
|
name: transmission-daemon
|
||||||
|
enabled: no
|
||||||
|
state: stopped
|
||||||
|
when: not transmission_enabled
|
||||||
|
|
||||||
|
|
||||||
- name: Add transmission to list of services at /etc/iiab/iiab.ini
|
- name: Add transmission to list of services at /etc/iiab/iiab.ini
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ service_filelist }}"
|
dest: "{{ service_filelist }}"
|
||||||
|
@ -66,3 +68,7 @@
|
||||||
value: "{{ transmission_enabled }}"
|
value: "{{ transmission_enabled }}"
|
||||||
- option: transmission_install
|
- option: transmission_install
|
||||||
value: "{{ transmission_install }}"
|
value: "{{ transmission_install }}"
|
||||||
|
- option: transmission_http_port
|
||||||
|
value: "{{ transmission_http_port }}"
|
||||||
|
- option: transmission_url
|
||||||
|
value: "{{ Transmission_url }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue