How do you create a directory www at /srv on a Debian-based system using an Ansible playbook?
www
/srv
- file: path: /etc/some_directory state: directory mode: 0755 owner: someone group: somegroup
That's the way you can actually also set the permissions, the owner and the group. The last three parameters are not obligatory.