41007/organize-roles-ansible-roles
I have two hosts - host1 and host2
I need few packages to be installed on host1 and few on host2
host1
host2
How do I organize my roles to achieve this?
One of the ways is to use a generic packages role and pass the rpm to install to the role as a var
generators-playbook - roles: - { role: packages, packages: ["rpmA","rpmB"] } executor-playbook - roles: - { role: packages, packages: ["rpmC"] }
Hi, Roles: Roles containing certain vars_files, tasks, and handlers ...READ MORE
Ansible roles are basically like functions in ...READ MORE
You get this error because ansible was ...READ MORE
Flush handlers with meta: flush_handlers before the task that ...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
You'll need a requirements.yaml file which will ...READ MORE
Here is a very basic example that ...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.