Skip to content

Commit

Permalink
PR #38: Opcache handler clear cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Apr 20, 2017
1 parent 86adc9d commit bc222de
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
---
- name: clear opcache
command: "{{ drush_path }} eval \"if (function_exists('apc_clear_cache')) {apc_clear_cache();}if (function_exists('opcache_reset')) {opcache_reset();}\""
command: >
{{ drush_path }} eval
"if (function_exists('apc_clear_cache')) {
apc_clear_cache();
}
if (function_exists('opcache_reset')) {
opcache_reset();
}"
args:
chdir: "{{ drupal_core_path }}"

0 comments on commit bc222de

Please sign in to comment.