mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 12:18:17 +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
 | 
			
		||||
      command: >
 | 
			
		||||
        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 }}"
 | 
			
		||||
      notify: docker compose restart
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user