Giter VIP home page Giter VIP logo

ansible-role-transmission's Introduction

ovv.transmission

Build Status

Ansible role to install and configure Transmission.

Requirements

An nginx installation is recommended. We recommend using pyslackers.nginx.

Installation

To install this roles clone it into your roles directory.

$ git clone https://github.com/ovv/ansible-role-transmission.git ovv.transmission

If your playbook already reside inside a git repository you can clone it by using git submodules.

$ git submodule add -b master https://github.com/ovv/ansible-role-transmission.git ovv.transmission

Role Variables

  • rpc_enabled: Enable transmission RPC (default to false).

  • rpc_port: RPC listening port (default to 8080).

  • rpc_user: Authorized user for RPC.

  • rpc_password: Password for RPC user.

  • transmission_complete_directory: Directory for completed downloads (default to /var/lib/transmission-daemon/complete).

  • transmission_complete_directory_group: Group for completed downloads directory (default to debian-transmission).

  • transmission_complete_directory_mode: Mode for completed downloads directory (default to 0774).

  • transmission_peer_port: Transmission port (default to 51412).

Example Playbook

- hosts: localhost
  roles:
    - ovv.transmission
    - pyslackers.nginx
  vars:
    rpc_user: foo
    rpc_password: bar
    rpc_enabled: true

    # pyslackers.nginx variables
    nginx_sites:
      transmission:
        locations:
          - location: /rpc
            proxy_pass: http://127.0.0.1:8080
          - location: /web/
            proxy_pass: http://127.0.0.1:8080
          - location: /upload
            proxy_pass: http://127.0.0.1:8080
          - location: /web/style
            custom: alias /usr/share/transmission/web/style/;
          - location: /web/javascript
            custom: alias /usr/share/transmission/web/javascript/;
          - location: /web/images/
            custom: alias /usr/share/transmission/web/images/;
          - location: /
            proxy_pass: http://127.0.0.1:8080/web

License

MIT

ansible-role-transmission's People

Contributors

ovv avatar

Watchers

 avatar  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.