Estoy intentando instalar Centos-7 en Ubuntu vivit en Virtual Box usando Ansible. Realizo una gran cantidad de configuraciones y las configuro antes de que falle con el siguiente mensaje. He buscado varios tipos de errores pero no he visto ninguno con el mío, así que pensé en venir aquí. ¿Alguien puede decirme qué significan los errores? Sospecho que es un error instalar las dependencias de PHP, pero no sé por qué fallan ni cómo corregirlo.
Gracias
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.
Respuesta1
Sin ver el libro de jugadas, sólo puedo suponer aquí. Parece que estás utilizando un parámetro no admitido como se sugiereaquí.
- name: Run yum upgrade
action: command yum upgrade