Changeset - 2352082ec91e
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 6 months ago 2023-10-12 00:52:40
ben@sturm.com.au
Configure mounting of /var/www/media
1 file changed with 10 insertions and 0 deletions:
0 comments (0 inline, 0 general)
deploy/install.yml
Show inline comments
...
 
@@ -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
0 comments (0 inline, 0 general)