Added more update tasks for ESPOCRM config

This commit is contained in:
2025-08-21 16:23:08 +02:00
parent 658003f5b9
commit 535094d15d
6 changed files with 61 additions and 34 deletions

View File

@@ -6,7 +6,7 @@
docker_compose_flush_handlers: true
- name: Check if config.php exists in EspoCRM
command: docker exec --user root {{ espocrm_name }} test -f {{ espocrm_config_file }}
command: docker exec --user root {{ ESPOCRM_NAME }} test -f {{ ESPOCRM_CONFIG_FILE_PRIVATE }}
register: config_file_exists
changed_when: false
failed_when: false
@@ -30,4 +30,5 @@
$writer->save();
'
args:
chdir: "{{ docker_compose.directories.instance }}"
chdir: "{{ docker_compose.directories.instance }}"
when: ESPOCRM_OIDC_ENABLED | bool