When installing Drush, with the following task
action: command pear install drush/drush creates=/usr/bin/drush tags: drush
I get the dollowing error:
TASK: [Drush | Install drush] ************************************************* failed: [default] => {"changed": true, "cmd": ["pear", "install", "drush/drush"], "delta": "0:00:01.318926", "end": "2014-02-14 09:25:46.666768", "item": "", "rc": 255, "start": "2014-02-14 09:25:45.347842"} stderr: PHP Notice: Array to string conversion in /usr/share/php/PEAR/REST/13.php on line 80 PHP Warning: Invalid argument supplied for foreach() in /usr/share/php/PEAR/REST/13.php on line 84 PHP Fatal error: Cannot use string offset as an array in /usr/share/php/PEAR/REST/10.php on line 263 stdout: Notice: Array to string conversion in PEAR/REST/13.php on line 80
Warning: Invalid argument supplied for foreach() in PEAR/REST/13.php on line 84
FATAL: all hosts have already failed -- aborting