ansible inconsistant behavor

Hi,

I’ve got following issues to rum yum module on compute node CentOS 6.5, some node (compute0) could not install sssd (but can install other packages), and some node (compute1) can install without any issues. When I went to compute0 and run “yum install sssd” manually, there is no problem at all, the sssd was installed. There is no difference between compute0 and compute1. What could cause that issues?

failed: [compute0] => (item=sssd,sssd-common,sssd-client) => {“changed”: false, “failed”: true, “item”: “sssd,sssd-common,sssd-client”, “rc”: 0, “results”: }
msg: The following packages have pending transactions: sssd-x86_64

ok: [compute1] => (item=sssd,sssd-common,sssd-client) => {“changed”: false, “item”: “sssd,sssd-common,sssd-client”, “msg”: “”, “rc”: 0, “results”: [“All packages providing sssd are up to date”, “All packages providing sssd-common are up to date”, “All packages providing sssd-client are up to date”]}

The ansible is version 1.9.

Thanks.

-j

Possibly an environment variable that's present in the shell but not
the ansible environment -
do you need to set a proxy maybe?

Is this the result of the first time you tried to install the sssd
package?

The installation might have broken, that's why you're getting the
pending transactions message.

jimi-c has done some work on the front:
https://github.com/ansible/ansible/issues/4649

Giovanni