Configure mounting of /var/www/media

This commit is contained in:
Ben Sturmfels 2023-10-12 11:52:40 +11:00
parent 9e7c3a7709
commit 2352082ec9
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -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