How do I update CentOS using Ansible?

0 votes
How do I update CentOS using ansible?
Feb 4 in Ansible by Richard
45 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 by Diana

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How can I create a new user using ansible ploybook?

You're switching from the root user. Root ...READ MORE

answered Mar 29, 2018 in Ansible by DareDev
• 6,810 points
111 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
147 views
0 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 in Ansible by Dikinson
199 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 in Ansible by Anisha
30 views