Re: [ansible-project] ansible yum module question

2014-08-14 Thread Michael DeHaan
Shelling out to the yum command could be used to do this, yes, though you will first need to make sure the RPMs are present on the remote machine. "ansbile reports a change, but when I check the system the packages are not installed." ansible will always report a change when a command runs, try r

[ansible-project] ansible yum module question

2014-08-13 Thread Nic Flores
Hey folks, Is there a way that I can yum install every RPM package that live in a certain directory on my target machine? For example, I am trying to translate the following command into an ansible command: yum -y localinstall /mnt/iso/Packages/*.rpm Using the most obvious solution in my playb