How do I update CentOS using Ansible

0 votes
How do I update CentOS using ansible?
Feb 4, 2019 in Ansible by Richard
4,032 views

1 answer to this question.

0 votes

You can use the yum module in the playbook like this:

- name: upgrade all packages
  yum: name=* state=latest

answered Feb 4, 2019 by Diana

Related Questions In Ansible

0 votes
1 answer

How do I wget a file from web server using shell in the ansible playbook

Hey Ayaan, you could probably use this ...READ MORE

answered Jan 24, 2019 in Ansible by Anushri
4,178 views
0 votes
1 answer
0 votes
1 answer

How do I check uptime on hundreds of servers using Ansible?

You need an Ansible box for this, ...READ MORE

answered Nov 15, 2019 in Ansible by Eric
12,994 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
4,059 views
+2 votes
1 answer
0 votes
2 answers

How do i install Ansible using virtualenv

Adding to @Mohit's answer,  For CentOS and RHEL: sudo ...READ MORE

answered Jan 10, 2019 in Ansible by Dikinson
5,642 views
0 votes
1 answer

How do I make my_dir available for all hosts? - Ansible

Hey @Kiara,  f you want to make my_dir available to ...READ MORE

answered Feb 1, 2019 in Ansible by Anisha
1,147 views
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