79985/how-to-configure-yum-using-ansible-playbook
Hi Guys,g
I am new in Ansible. I want to configure yum in all the nodes using Ansible-playbook. How can I do that?
Hi@akhtar,
You need to use the yum_repository module in your ansible-playbook. This is used to configure yum in the managed nodes. You can add the below-given lines in your playbook.
- hosts: all tasks: - name: Add multiple repositories into the same file (1/2) yum_repository: name: docker description: EPEL YUM repo file: docker_repo baseurl: https://download.docker.com/linux/centos/7/x86_64/stable/ gpgcheck: 0
root doesn't need a password to switch ...READ MORE
Hey @Nishant, you can use the copy ...READ MORE
Have a look at this, it might ...READ MORE
Hi@M, You can use the below-given example. - name: ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hi@akhtar, You need to write one program file ...READ MORE
Hi@akhtar, You can use the yum_repository module in ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.