require packages curl and cli. This also prevents the installing of apache on apt-get-systems
This commit is contained in:
parent
05580656db
commit
d723b7b87c
@ -2,7 +2,8 @@
|
|||||||
{% set install_file = php.local_bin + '/composer' %}
|
{% set install_file = php.local_bin + '/composer' %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- php
|
- php.cli
|
||||||
|
- php.ng.curl
|
||||||
|
|
||||||
get-composer:
|
get-composer:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
@ -10,7 +11,8 @@ get-composer:
|
|||||||
- unless: test -f {{ install_file }}
|
- unless: test -f {{ install_file }}
|
||||||
- cwd: {{ php.temp_dir }}
|
- cwd: {{ php.temp_dir }}
|
||||||
- require:
|
- require:
|
||||||
- pkg: php
|
- pkg: {{ php.cli_pkg }}
|
||||||
|
- pkg: {{ php.curl_pkg }}
|
||||||
|
|
||||||
install-composer:
|
install-composer:
|
||||||
cmd.wait:
|
cmd.wait:
|
||||||
|
Loading…
Reference in New Issue
Block a user