Replaced fixed 'web' service call for exec with 'ESPOCRM_SERVICE' variable for exec call

This commit is contained in:
2025-09-28 15:52:44 +02:00
parent a9097a3ec3
commit 66f294537d

View File

@@ -37,7 +37,7 @@
- name: Ensure siteUrl matches canonical domain
ansible.builtin.shell: |
{{ docker_compose_command_exec }} -T web php -r '
{{ docker_compose_command_exec }} -T {{ ESPOCRM_SERVICE }} php -r '
require "/var/www/html/bootstrap.php";
$app = new \Espo\Core\Application();
$c = $app->getContainer();