diff --git a/roles/engineblock/handlers/main.yml b/roles/engineblock/handlers/main.yml index 6ab193b9f..562fae00c 100644 --- a/roles/engineblock/handlers/main.yml +++ b/roles/engineblock/handlers/main.yml @@ -4,3 +4,4 @@ name: engine state: started restart: true + when: ebcontainer is success and ebcontainer is not change diff --git a/roles/engineblock/tasks/main.yml b/roles/engineblock/tasks/main.yml index 2189ad4c2..226d2f815 100644 --- a/roles/engineblock/tasks/main.yml +++ b/roles/engineblock/tasks/main.yml @@ -196,7 +196,7 @@ APACHE_UID: "#{{ engine_uid.uid }}" APACHE_GUID: "#{{ engine_guid.gid }}" TZ: "{{ timezone }}" - PHP_MEMORY_LIMIT: "{{ engine_php_memory }}" + PHP_MEMORY_LIMIT: "{{ engine_php_memory }}" etc_hosts: host.docker.internal: host-gateway mounts: @@ -230,3 +230,4 @@ - source: engineblock_sessions target: /tmp/ type: volume + register: ebcontainer