Code Monkey home page Code Monkey logo

ansible.transmission's Introduction

this role install et configure transmission ( see : https://transmissionbt.com/ ) currently, it's work on:

  • OpenBSD ( tested on 6.0/RELEASE)

Requirements

no special requirement but p2p port has to be set in pf, as this role don't change anything in pf.conf

Role Variables

for now, few transmissions variables are configurable, feel free to edit defaults/main.yml & template/settings.json.j2 as I made this role quickly for my meet...

please quote ALL variables, especially 'true' 'false' that muste be lowercase, to ensure configuration file is not corrected by daemon

if transmission_block_list_enable is true, feed transmission_block_list_url with something... this is to have a filter list of ip in the apps, some fellow guys provide that, example: http://john.bitsurge.net/public/biglist.p2p.gz

  • transmission_block_list_enabled: 'false'
  • transmission_block_list_url: ''

if you want to store incomplete download to a specific folder, change it to true and provide the path (it should be created be the role)

  • transmission_incomplete_download_enabled: 'false'
  • transmission_incomplete_download_folder: '/var/transmission/Downloads'

where to store the stuff downloaded

  • transmission_download_folder: '/var/transmission/Downloads'

this is a listening port, that should be open in the firewall & eventually redirected if the host where this role will be installed is behind a NAT...

  • transmission_peer_port: 55413

if transmission_rpc_enabled is true, this is to allow web access to manage configuration/add torrent, if transmission_rpc_white_list_enabled is true, transmission_rpc_white_list is a list of IP allowed to connect ( I would recommend to use a reverse proxy to more controle who can connect if it need to be reach from internet)

  • transmission_rpc_enabled: 'true'
  • transmission_rpc_white_list: '127.0.0.1'
  • transmission_rpc_white_list_enabled: 'true'

if transmission_rpc_authentication_required is true, you will need to use the login and password format is '{+SHA1 encrypted with salt + salt'
you can use http://www.lorem-ipsum.co.uk/hasher.php to generate it :

  • transmission_rpc_username: 'theboss'
  • transmission_rpc_password: '{d209a21d3bc4f8fc4f8faf347e69f3def597eb170pySy4ai1ZPMjeU1'
  • transmission_rpc_authentication_required: 'true' password is : test this is the service name used to manage to service for the OS it should be setup by role depending of OS/linux distrib
  • transmission_service_name

Dependencies

no dependencies..

Example Playbook

- hosts: my_p2p_seedbox
  roles:
     - { role: ansible.transmission }

please note that tag : 'transmission' is used by role

note that to apply configuration, the transmission process is stopped,, then started... so think when to apply a change :)

License

BSD

Author Information

me

ansible.transmission's People

Contributors

bcrespin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.