Have just done a watch on the process list on the server that this is 
running against and I can now see that it's NOT hanging at all. In fact, 
what it's doing is running repoquery against all possible kernel packages. 
Not sure if it's normal for this to take so long but at least I have 
something to work on.

root     27883 27429 99 13:02 pts/0    00:00:01  |                       \_ 
/usr/bin/python -tt /usr/bin/repoquery --show-duplicates --plugins --quiet 
-q --pkgnarrow=updates --qf %{name}-%{version}-%{release}.%{arch} 
kernel-debug-devel-2.6.18-371.el5.x86_64



On Monday, June 16, 2014 7:52:48 PM UTC+1, [email protected] wrote:
>
> Running the following playbook with: *ansible-playbook update_system.yml 
> --limit=production -K*
>
>
> ---
> - name: system updates
>   hosts: production
>   remote_user: ansible
>   sudo: yes
>
>   tasks:
>     - name: install kernel updates
>       action: yum name=kernel* state=latest
>       # If there are any updates, we register the below
>       # This will trigger a reboot
>       register: kernelup
>
>     - name: install other updates
>       action: yum name=* state=latest
>
>     - name: reboot the system
>       command: reboot
>       when: kernelup.changed
>
>     - name: wait for ssh to come back up
>       local_action: wait_for host={{ ansible_fqdn }} port=22 delay=120 
> timeout=900 state=started
>       when: kernelup.changed
>
>     - name: restart services
>       service: name=sendmail state=restarted
>
>
>
>
>
> On Monday, June 16, 2014 7:43:40 PM UTC+1, Michael Peters wrote:
>>
>> On Mon, Jun 16, 2014 at 11:52 AM, Allan Mullan <[email protected]> 
>> wrote: 
>> > Sorry, that was left in after I tested commenting out the Kernel update 
>> > task. That isn't in the script that is failing. 
>>
>> Could you try pasting the ansible playbook that is failing (if the one 
>> you pasted isn't it). 
>>
>

-- 
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/5d862cee-6317-435e-a713-ac41830e4652%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to