upgrade to a specific centos version

13 views
Skip to first unread message

J_M

unread,
Mar 1, 2016, 11:38:37 AM3/1/16
to Ansible Project
Hello,

I'm trying to use Ansible to upgrade my image from 6.5 to 6.6 using the following line.  It's ignoring the enable/disable lines and trying to upgrade to 6.7  is there a way to get the "latest" 6.6?

yum: name=* disablerepo=C6.7* enablerepo=C6.6* state=latest
when: ansible_distribution == "CentOS"\

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages