add a '*' option for name to state=latest to do a global update


yum: state=latest name='*'

will do a global update