From 926ae910cb0a1e36fb0739fa8ef66e5dd5aa5394 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Tue, 7 Nov 2023 13:19:27 +0100
Subject: [PATCH] Fix xdebug playbook

---
 playbooks/xdebug.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/playbooks/xdebug.yml b/playbooks/xdebug.yml
index 8e53f69..d3f9113 100644
--- a/playbooks/xdebug.yml
+++ b/playbooks/xdebug.yml
@@ -74,6 +74,9 @@
           - php-xdebug
           - php{{php_version|default("7.0")}}-xdebug
       ignore_errors: yes
+    - name: Ensure PHP extension through PECL
+      shell: pecl install xdebug
+      ignore_errors: yes
     - name: Turn on/off xdebug
       lineinfile:
         dest: /etc/{{ php_base_dir|default('php5') }}/{{ php_conf_dir|default('conf.d') }}/xdebug.ini
-- 
GitLab