diff --git a/setup-cluster.yml b/setup-cluster.yml index c28dabf..1d34cc4 100644 --- a/setup-cluster.yml +++ b/setup-cluster.yml @@ -219,6 +219,30 @@ state: mounted fstype: nfs4 + - name: Create Media Library RW NFS mount + ansible.posix.mount: + src: 192.168.2.10:/Multimedia + path: /srv/volumes/media-write + opts: proto=tcp,port=2049,rw + state: mounted + fstype: nfs4 + + - name: Create Download RW NFS mount + ansible.posix.mount: + src: 192.168.2.10:/Download + path: /srv/volumes/download + opts: proto=tcp,port=2049,rw + state: mounted + fstype: nfs4 + + - name: Create Container NAS RW NFS mount + ansible.posix.mount: + src: 192.168.2.10:/Container + path: /srv/volumes/container + opts: proto=tcp,port=2049,rw + state: mounted + fstype: nfs4 + - name: Install Docker hosts: nomad_instances become: true @@ -248,6 +272,18 @@ group: "root" mode: "0777" read_only: true + - name: media-write + path: /srv/volumes/media-write + owner: "root" + group: "root" + mode: "0777" + read_only: false + - name: download + path: /srv/volumes/download + owner: "root" + group: "root" + mode: "0777" + read_only: false - name: all-volumes path: /srv/volumes owner: "root"