Ansible Yum Update

17 views
Skip to first unread message

HtetAung

unread,
Nov 17, 2020, 12:24:04 AM11/17/20
to Ansible Development
Hi Guys,

I have been using ansible for 3 months now and I updated my servers' packages using yum module. 
My goal is to update all the packages in those servers to latest. The command line will be "yum -y update"

My playbook looks exactly like following: 


I found that it updates my OS too. As a result, some of my services which have version dependencies stopped working.
Where did I go wrong? Please kindly help explain.


Reply all
Reply to author
Forward
0 new messages