Configure mounting of /var/www/media
This commit is contained in:
		
							parent
							
								
									9e7c3a7709
								
							
						
					
					
						commit
						2352082ec9
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		|  | @ -49,6 +49,16 @@ | ||||||
|            HISTFILESIZE=1000000 |            HISTFILESIZE=1000000 | ||||||
|          insertafter: EOF |          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 |      - name: Install Apache | ||||||
|        apt: |        apt: | ||||||
|          name: apache2,libapache2-mod-wsgi-py3 |          name: apache2,libapache2-mod-wsgi-py3 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue