From 2352082ec91e80bfe0a9c9a7f7cb3117e656e77a Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Thu, 12 Oct 2023 11:52:40 +1100 Subject: [PATCH] Configure mounting of /var/www/media --- deploy/install.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/deploy/install.yml b/deploy/install.yml index 9b2837bb..bf88ad4e 100644 --- a/deploy/install.yml +++ b/deploy/install.yml @@ -49,6 +49,16 @@ HISTFILESIZE=1000000 insertafter: EOF + - name: Mount the media volume + # OSUOSL VMs come with fixed storage that's tied to the cores and RAM + # selection. Easier to put this data on an external volume. + ansible.posix.mount: + src: /dev/sdb1 + path: /var/www/media + fstype: ext4 + state: mounted + boot: false + - name: Install Apache apt: name: apache2,libapache2-mod-wsgi-py3