Fix namespace and include vault

This commit is contained in:
Alex 2020-05-25 21:40:21 +02:00
parent bed63f6632
commit 099440ed0d
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
- name: Include sensitive info
include_vars:
dir: '{{ role_path }}/vault'
depth: 1
tags:
- vault
- transmission
- name: Copy configuration files for Transmission
loop:
- { src: 'transmission.json.j2', dest: '{{ transmission.root_dir }}/.config/settings.json', mode: '0600' }

View File

@ -45,10 +45,10 @@
"rpc-enabled": true,
"rpc-host-whitelist": "127.0.0.1",
"rpc-host-whitelist-enabled": false,
"rpc-password": "{{ transmission_vault.password }}",
"rpc-password": "{{ vault_transmission.password }}",
"rpc-port": {{ transmission.rpc.port }},
"rpc-url": "/",
"rpc-username": "{{ transmission_vault.username }}",
"rpc-username": "{{ vault_transmission.username }}",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,