Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions roles/cli/cachetool/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
cachetool:
version: "" # enter three-digit version number, e.g. "7.0.0", to install a specific version. If not specified, will be installed depending on the php version.
unix_socket: false # Set to true to use automatic detection of Unix socket as set by ce-provision
check_retries: 5
check_delay: 20
# Adapter string to use as argument.
# e.g.
# --fcgi=127.0.0.1:9000
Expand Down
4 changes: 4 additions & 0 deletions roles/cli/cachetool/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,7 @@
ansible.builtin.command:
cmd: "{{ cachetool_bin }} {{ _cachetool_adapter }} -n opcache:status"
when: _php_version.stdout | length > 0
register: opcache_status_check
retries: "{{ cachetool.check_retries }}"
delay: "{{ cachetool.check_delay }}"
until: opcache_status_check.rc == 0