What’s the easy way to auto create non existing dir in ansible?


In my Ansible playbook many times i need to create file there

now many times conf dir is not there. Then I have to create more task to create that dir first.

Is there any easy way to auto create dir if don’t exist with some option


Right now, this is the only way

Leave a Reply