I am new in Ansible. I want to create one directory in my remote nodes using Ansible-Playbook. How can I do that?
You can use the file module. To create a directory, you need to specify the option state=directory. I have attached one playbook for your reference below.
- name: Creates directory
If you are creating a new file ...READ MORE
You can find the ec2_key module in ...READ MORE
You can use the ec2_group module in ...READ MORE
You can use the user module in ...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 read install and setup apache ...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.