Hi@akhtar,
You can use the file module in your Ansible-Playbook. This allows to create a directory in your remote system. You can use the below code in your playbook.
- name: Document root creation
file:
state: directory
dest: "{{ document_dir }}"
tags: web
register: y