Erro ao instalar o Drush na via Ansible

2

Ao instalar o Drush, com a seguinte tarefa

action: command pear install drush/drush creates=/usr/bin/drush tags: drush

Eu recebo o seguinte erro:

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

    
por sanders 14.02.2014 / 10:39

1 resposta

0

Eu encontrei essa questão enquanto pesquisava o mesmo erro usando o Vagrant Projeto LAMP Ansible Drupal (VLAD) . Eu também notei que as instruções de instalação do PEAR foram recentemente removidas (2 dias atrás) do Drush . Ele não diz explicitamente que o canal de pêra foi desativado, mas indica que pode ser um bom momento para considerar a mudança para Compositor ou manual instalação do Drush.

    
por 15.02.2014 / 00:01

Tags