diff --git a/playbooks/xdebug.yml b/playbooks/xdebug.yml index 8e53f69fe8c4e129057e379ea673be7e5a57fc2a..d3f9113737cd9accc44806dc69f82930ac501243 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