diff --git a/downloader.tf b/downloader.tf index 5cb558a..9bc168f 100644 --- a/downloader.tf +++ b/downloader.tf @@ -22,15 +22,6 @@ resource "proxmox_lxc" "downloader" { size = "42G" } - mountpoint{ - key = "0" - slot = 0 - storage = "Ceph" - mp = "/data" - # 1.2TB, terraform plugin is setting it to Ms - size = "1258292M" - } - network { name = "eth0" bridge = "vmbr0" diff --git a/roles/ind/downloader/downloader-install.yml b/roles/ind/downloader/downloader-install.yml index 470f536..1b25b11 100644 --- a/roles/ind/downloader/downloader-install.yml +++ b/roles/ind/downloader/downloader-install.yml @@ -22,6 +22,14 @@ - name: setup-restic.yml - setup restic import_tasks: ../../lib/setup-restic.yml + - name: Mount NFS share + ansible.posix.mount: + src: "192.168.0.42:/watari/Downloads/" + path: "/data/" + fstype: "nfs" + opts: "defaults" + state: "mounted" + - name: Create grail user user: name: grail