Fix #28: Set directory permissions (#29)
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m23s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m23s
				
			Since we are using `user:` in docker-compose, we need to set the directory permissions so that everything doesn't crash immediately. Reviewed-on: #29
This commit is contained in:
		| @@ -47,3 +47,19 @@ | |||||||
|       ansible.builtin.command: docker compose up -d |       ansible.builtin.command: docker compose up -d | ||||||
|       args: |       args: | ||||||
|         chdir: "{{ user.home }}/{{ app }}" |         chdir: "{{ user.home }}/{{ app }}" | ||||||
|  |  | ||||||
|  |     - name: Update data permissions | ||||||
|  |       ansible.builtin.file: | ||||||
|  |         path: /mnt/nvme | ||||||
|  |         state: directory | ||||||
|  |         recurse: yes | ||||||
|  |         owner: debian | ||||||
|  |         group: debian | ||||||
|  |  | ||||||
|  |     - name: Update media permissions | ||||||
|  |       ansible.builtin.file: | ||||||
|  |         path: /mnt/media | ||||||
|  |         state: directory | ||||||
|  |         recurse: yes | ||||||
|  |         owner: debian | ||||||
|  |         group: debian | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user