Skip to content

Commit

Permalink
Merge pull request geerlingguy#28 from iainhouston/patch-1
Browse files Browse the repository at this point in the history
PHP-7.0-compatible sources
  • Loading branch information
geerlingguy committed Apr 11, 2016
2 parents 1a157c3 + 1cdabdf commit 57b5962
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,23 @@
- make
when: ansible_os_family == 'Debian'

# PHP7.0-compatible Xdebug is athttps://xdebug.org/files/xdebug-2.4.0.tgz
# PHP5.6-compatible Xdebug is at https://xdebug.org/files/xdebug-2.2.4.tgz

- name: Download Xdebug.
get_url:
url: "https://github.com/xdebug/xdebug/archive/{{ php_xdebug_version }}.tar.gz"
dest: "{{ workspace }}/xdebug-{{ php_xdebug_version }}.tar.gz"
url: "https://xdebug.org/files/xdebug-{{ php_xdebug_version }}.tgz"
dest: "{{ workspace }}/xdebug-{{ php_xdebug_version }}.tgz"

# TODO: In 2.0, we can set the 'src' to the URL from the get_url task above and
# cut out one extra task :)
- name: Untar Xdebug.
unarchive:
src: "{{ workspace }}/xdebug-{{ php_xdebug_version }}.tar.gz"
src: "{{ workspace }}/xdebug-{{ php_xdebug_version }}.tgz"
dest: "{{ workspace }}"
copy: no


- name: Build Xdebug.
shell: >
{{ item }}
Expand Down

0 comments on commit 57b5962

Please sign in to comment.