Skip to content

Commit

Permalink
Port and bind_address variables (#12)
Browse files Browse the repository at this point in the history
Port and bind_address variables
  • Loading branch information
elboletaire authored Jul 8, 2019
2 parents 4d3436b + c1404a0 commit d8b901b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ transmission_rpc_auth_enabled: true
transmission_rpc_whitelist_enabled: true
transmission_rpc_whitelist: 127.0.0.1
transmission_rpc_auth_required: false
transmission_rpc_bind_address: 0.0.0.0
transmission_rpc_port: 9091
transmission_rpc_host_whitelist_enabled: true
transmission_rpc_host_whitelist: ""

Expand All @@ -31,4 +33,4 @@ transmission_blocklist_enabled: false
transmission_blocklist_url: http://www.example.com/blocklist

transmission_peer_port: 51413
transmission_port_forwarding_enabled: false
transmission_port_forwarding_enabled: false
4 changes: 2 additions & 2 deletions templates/settings.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
"ratio-limit-enabled": {{ transmission_ratio_limit_enabled | lower }},
"rename-partial-files": true,
"rpc-authentication-required": {{ transmission_rpc_auth_required | lower }},
"rpc-bind-address": "0.0.0.0",
"rpc-bind-address": "{{ transmission_rpc_bind_address }}",
"rpc-enabled": true,
"rpc-host-whitelist": "",
"rpc-host-whitelist-enabled": false,
"rpc-password": "{{ transmission_password }}",
"rpc-port": 9091,
"rpc-port": {{ transmission_rpc_port }},
"rpc-url": "{{ transmission_url }}",
"rpc-username": "{{ transmission_user }}",
"rpc-whitelist": "{{ transmission_rpc_whitelist }}",
Expand Down

0 comments on commit d8b901b

Please sign in to comment.