Hey @Kavya, to ensure a package is installed, but don’t update it, you can use the following command:
$ ansible webservers -m yum -a "name=acme state=present"
It checks for a yum package called acme in all the servers listed under the group webservers.