mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-03 19:58:14 +00:00 
			
		
		
		
	Used {{ nextcloud_docker_config_additives_directory }} as identification string
This commit is contained in:
		@@ -56,7 +56,7 @@
 | 
				
			|||||||
    - name: Append generated config to config.php only if not present
 | 
					    - name: Append generated config to config.php only if not present
 | 
				
			||||||
      command: >
 | 
					      command: >
 | 
				
			||||||
        docker exec -u {{nextcloud_docker_user}} {{ applications.nextcloud.container.application }} sh -c "
 | 
					        docker exec -u {{nextcloud_docker_user}} {{ applications.nextcloud.container.application }} sh -c "
 | 
				
			||||||
          grep -q 'foreach (glob(\"{{ nextcloud_docker_config_additives_directory }}*.php\") as \$file)' {{ nextcloud_docker_config_file }} || 
 | 
					          grep -q '{{ nextcloud_docker_config_additives_directory }}' {{ nextcloud_docker_config_file }} || 
 | 
				
			||||||
          cat {{nextcloud_docker_include_instructions_file}} >> {{ nextcloud_docker_config_file }}"
 | 
					          cat {{nextcloud_docker_include_instructions_file}} >> {{ nextcloud_docker_config_file }}"
 | 
				
			||||||
      notify: docker compose restart
 | 
					      notify: docker compose restart
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user