TASK [get python-yum and python-curl]
*************************************************************************************************************************************
...ignoring
failed: [192.168.211.131] (item=[u'python-pycurl', u'git', u'curl',
u'php5-common', u'php5-cli', u'php5-mysql', u'php5-curl', u'php5-gd',
u'php5-dev', u'php5-mcrypt', u'php-apc', u'php-pear', u'python-mysqldb',
u'mysql-server']) => {"changed": false, "failed": true, "item":
["python-pycurl", "git", "curl", "php5-common", "php5-cli", "php5-mysql",
"php5-curl", "php5-gd", "php5-dev", "php5-mcrypt", "php-apc", "php-pear",
"python-mysqldb", "mysql-server"], "msg": "No package matching
'php5-common' found available, installed or updated", "rc": 126, "results":
["python-pycurl-7.19.0-17.el7.x86_64 providing python-pycurl is already
installed", "git-1.8.3.1-5.el7.x86_64 providing git is already installed",
"curl-7.29.0-25.el7.centos.x86_64 providing curl is already installed", "No
package matching 'php5-common' found available, installed or updated"]}
=========================================================
code:
- name: "get python-yum and python-curl"
yum: name={{ item }} state=installed
with_items:
- python-pycurl
- git
- curl
- php5-common
- php5-cli
- php5-mysql
- php5-curl
- php5-gd
- php5-dev
- php5-mcrypt
- php-apc
- php-pear
- python-mysqldb
- mysql-server
ignore_errors: yes
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/c7be2dc9-8de6-45ea-9e70-edd14a337b24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.