caixa virtual ansible e PHP

caixa virtual ansible e PHP

Estou tentando instalar o Centos-7 no Ubuntu vivit no Virtual Box usando Ansible. Eu faço uma grande quantidade de configurações e configuro antes que ela falhe com a mensagem abaixo. Procurei vários tipos de erros, mas não vi nenhum com o meu, então decidi vir aqui. Alguém pode me dizer o que significam os erros? Eu suspeito que seja uma falha na instalação de dependências do PHP, mas não sei por que elas estão falhando e como corrigir isso.

Obrigado

PLAY [all] ******************************************************************** 

GATHERING FACTS *************************************************************** 
ok: [default]

TASK: [common | check if EPEL is installed] *********************************** 
failed: [default] => {"changed": false, "cmd": "/usr/bin/rpmquery epel-release", "delta": "0:00:00.036192", "end": "2015-09-30 19:40:02.697466", "rc": 1, "start": "2015-09-30 19:40:02.661274", "stdout_lines": ["package epel-release is not installed"]}
stdout: package epel-release is not installed
...ignoring

TASK: [common | install EPEL] ************************************************* 
changed: [default]

TASK: [common | clean yum metadata on first run] ****************************** 
changed: [default]

TASK: [common | upgrade all packages on first run] **************************** 
changed: [default]

TASK: [mariadb | MariaDB Install] ********************************************* 
changed: [default] => (item=mariadb-server)

TASK: [mariadb | MariaDB my.cnf] ********************************************** 
changed: [default]

TASK: [mariadb | Starting MariaDB] ******************************************** 
changed: [default]

TASK: [mariadb | Enabled MariaDB Service] ************************************* 
changed: [default]

TASK: [mariadb | Ensure DB user exists] *************************************** 
changed: [default]

TASK: [mariadb | Ensure DB exists] ******************************************** 
changed: [default]

TASK: [mariadb | Import ConnectDB] ******************************************** 
changed: [default]

TASK: [php | Install PHP Packages] ******************************************** 
failed: [default] => (item=php,php-devel,php-pecl-zendopcache,php-mbstring,php-xml,php-mysql,php-gd,php-pdo,php-drush-drush,php-json,libmcrypt-devel,libmcrypt,php-mcrypt) => {"failed": true, "item": "php,php-devel,php-pecl-zendopcache,php-mbstring,php-xml,php-mysql,php-gd,php-pdo,php-drush-drush,php-json,libmcrypt-devel,libmcrypt,php-mcrypt"}
msg: unsupported parameter for module: update_cache

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/home/jcorbett/playbook.retry

default                    : ok=12   changed=10   unreachable=0    failed=1   

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Responder1

Sem ver o manual, só posso presumir aqui. Parece que você está usando um parâmetro não suportado conforme sugeridoaqui.

- name: Run yum upgrade
action: command yum upgrade

informação relacionada