Re: [ansible-project] get the list of packages to update.

2017-09-07 Thread Kai Stian Olstad
On 07. sep. 2017 14:45, Josu Vilda wrote: I have seen that the yum module has the option to install the lastest, but not to check the packages Use the yum module and run Ansible in check mode https://docs.ansible.com/ansible/latest/playbooks_checkmode.html -- Kai Stian Olstad -- You

[ansible-project] get the list of packages to update.

2017-09-07 Thread Josu Vilda
Hi all, I would like to automate a task to check the list of packages that need to be updated in my server farm with ansible. Is there any way to do it? I have seen that the yum module has the option to install the lastest, but not to check the packages and I have tried it from shell, shell