Installs PHP XDebug on Ubuntu Xenial (16.04).
None.
Available variables are listed below, along with default values (see vars/main.yml
):
php_xdebug_remote_enable: "false"
Whether remote debugging is enabled.
php_xdebug_remote_connect_back: "false"
If this is set to true, Xdebug will respond to any request from any IP address; use only for local development on non-public installations!
php_xdebug_remote_host: localhost
php_xdebug_remote_port: "9000"
The host and port on which Xdebug will listen.
php_xdebug_remote_log: /tmp/xdebug.log
The location of the xdebug log (useful if you're having trouble connecting).
php_xdebug_idekey: XDEBUG
The IDE key to use in the URL when making Xdebug requests (e.g. http://example.local/?XDEBUG_SESSION_START=XDEBUG
).
- hosts: webservers
roles:
- xdebug
MIT
This role was created in 2014 by Maxime Thoonsen. It was forked from Jeff Geerling's role