mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-03 15:54:15 +02:00
Used {{ nextcloud_docker_config_additives_directory }} as identification string
This commit is contained in:
parent
e3f6b320de
commit
2898cc6086
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user