Skip to content

Commit

Permalink
EB: Run the container handler only when the docker task has not resta…
Browse files Browse the repository at this point in the history
…rted it already
  • Loading branch information
quartje committed Dec 2, 2024
1 parent fdaf26b commit 01f8d3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/engineblock/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
name: engine
state: started
restart: true
when: ebcontainer is success and ebcontainer is not change
3 changes: 2 additions & 1 deletion roles/engineblock/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -230,3 +230,4 @@
- source: engineblock_sessions
target: /tmp/
type: volume
register: ebcontainer

0 comments on commit 01f8d3e

Please sign in to comment.