I have created some users. Now I want to create one group and add all the users to this group. But I want to do this dynamically using Ansible Playbook. How can I do that?
You can find one module named group in Ansible. This module is used to create a group at run time. You can use the below YML script.
- hosts: all
- name: Create a Group
You can find the ec2_key module in ...READ MORE
You can read install and setup apache ...READ MORE
You can use the user module in ...READ MORE
Ansible has a module named firewalld to ...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 can use the ec2_group module in ...READ MORE
You can use the docker_container module in ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.