mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-30 01:41:11 +01:00 
			
		
		
		
	upt playbook
This commit is contained in:
		
							
								
								
									
										10
									
								
								playbooks/repair_nextcloud.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								playbooks/repair_nextcloud.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| - hosts: nas | ||||
|   name: Sync mailu | ||||
|   ignore_unreachable: false | ||||
|   tasks: | ||||
|     - name: Change owner | ||||
|       ansible.builtin.shell: 'docker exec nextcloud-app-1 chown -R www-data:www-data /var/www/html/' | ||||
|     - name: Change dir perms | ||||
|       ansible.builtin.shell: 'docker exec nextcloud-app-1 find /var/www/html/  -type d -exec chmod 750 {} \;' | ||||
|     - name: Change file perms | ||||
|       ansible.builtin.shell: 'docker exec nextcloud-app-1 find /var/www/html/ -type f -exec chmod 640 {} \' | ||||
		Reference in New Issue
	
	Block a user
	 jaydee
					jaydee