diff --git a/tasks/main.yml b/tasks/main.yml
index ae57ed565f2373c8269d130e3109ba19c462ca65..957dad66a72b0c0c9ddc3f6ee40a6ed89127a7d1 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -14,6 +14,13 @@
   - include: php.yml
     when: role_php_completed is not defined
 
+  - name: "Disable OpCache for CLI and FPM, they are there twice"
+    command: 'phpdismod -s {{ item }} opcache'
+    with_items:
+      - 'cli'
+      - 'fpm'
+    when: php_version|default("5.5") == "7"
+
   - name: 'PHP | Remember that this role had been run'
     set_fact: role_php_completed=true
     tags: always