Ensure the package is latest version - Ansible

0 votes
I have a group called webservers. I want to check if a specific package is the latest version. How do I do that?
Mar 6, 2019 in Ansible by Nisha
461 views

1 answer to this question.

0 votes

Ensure a package is at the latest version:

$ ansible webservers -m yum -a "name=acme state=latest"

Replace yum and the name according to your requirement.

answered Mar 6, 2019 by Yogesh

Related Questions In Ansible

0 votes
1 answer
+1 vote
2 answers

What is the difference between ansible playbook and roles?

Hi, Roles: Roles containing certain vars_files, tasks, and handlers ...READ MORE

answered Jan 21, 2020 in Ansible by vivek
• 530 points
20,974 views
+1 vote
2 answers
0 votes
1 answer

What is the difference between the host file and an inventory file in ansible?

Actually both are same. hosts file is ...READ MORE

answered Feb 12, 2019 in Ansible by Amith
• 140 points
7,186 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,460 views
+2 votes
1 answer
0 votes
1 answer
+1 vote
3 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP