v
veerubhotla sowmithri

Posted on 25th April 2024|30 views

0
votes

Ansible Create Directory

How to create a directory in Ansible

Answers
P
Harshel Mike

Posted on 25th April 2024

In Ansible, we will create the directory through the file manager module

 -name: create a directory if it does not exist

 file:

  Path: /c/directory1

 State: directory

 Mode: ‘07555.’

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos