change credential file location; update readme

This commit is contained in:
Ryan Goodwin 2022-07-16 16:38:14 -04:00
parent 85f4f07edf
commit 404e6a8009
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Media Server Media Server
============ ============
A series of docker containers to allow full automation of media management. Mount a Hard drive and a network share and Deploy Plex Media Server in a docker container.
Role Variables Role Variables
-------------- --------------

View File

@ -18,7 +18,7 @@
linesinfile: linesinfile:
state: present state: present
path: "/etc/fstab" path: "/etc/fstab"
line: "//192.168.0.39/torrents /mnt/downloads cifs vers=3.0,credentials=/home/{{ username }}/.sharelogin,iocharset=utf8,file_mode=0777,dir_mode=0777,uid={{ username }},gid={{ username }},nofail 0 0" line: "//192.168.0.39/torrents /mnt/downloads cifs vers=3.0,credentials=/home/{{ lookup('env', 'USER') }}/.credentials/torrentlogin,iocharset=utf8,file_mode=0777,dir_mode=0777,uid={{ lookup('env', 'USER') }},gid={{ lookup('env', 'USER') }},nofail 0 0"
notify: notify:
- Manual Share Mount - Manual Share Mount