Le 03/02/2017 à 11:03, Jonty Needham a écrit : > The following state, when run, requires the root password (as > expected) then prints: > > Using /etc/ansible/ansible.cfg as config file > SUDO password: > > PLAYBOOK: install_stuff.yml > **************************************************** > 1 plays in install_stuff.yml > > PLAY RECAP > ********************************************************************* > > > I'm expecting it to either state that some states have passed or > failed. What have I got wrong? > > --- > - hosts: hostname > become: true > become_user: root > become_method: su > tasks: > - yum: > name: sl > state: latest
Hi One idea : - Check your rpm database... If rpm -qa hang, you probably have to rebuild it Jean-Yves LENHOF -- 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/b1efb57e-c867-ae0d-54a7-60cb9fb509b7%40lenhof.eu.org. For more options, visit https://groups.google.com/d/optout.
