83386/how-to-create-a-user-using-ansible-playbook
Hi Guys,
I am trying to configure one remote system. At the time of configuring the system, I want ansible-playbook will create a user at run time. How can I do that?
Hi@akhtar,
You can use the user module in your Ansible Playbook. This will allow you to create a user with credentials. You can see the below example.
- hosts: all tasks: - name: Create a User. user: name: user1 state: present password: password
root doesn't need a password to switch ...READ MORE
Hi@akhtar, You can use the ec2_group module in ...READ MORE
You can read install and setup apache ...READ MORE
Hi@akhtar, You can find one module named group ...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 can use the docker_container module in ...READ MORE
Hi@akhtar, You can find the ec2_key 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.