80508/how-to-create-a-directory-using-ansible
Hi Guys,
I am new in Ansible. I want to create one directory in my remote nodes using Ansible-Playbook. How can I do that?
Hi@akhtar,
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 file: path: /src/www state: directory
If you are creating a new file ...READ MORE
Hi@akhtar, You can find the ec2_key module in ...READ MORE
Hi@akhtar, You can use the ec2_group module in ...READ MORE
Hi@akhtar, 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
Hi@akhtar, You can use the docker_container 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.