Hey @Yash,
you could either use file module to create directories.
something like this:
- name: create project directory {{ common.project_dir }}
file: state=directory path={{ common.project_dir }}
and get_url module to download files:
- name: download sources
get_url: url={{ opencv.url }} dest={{ common.project_dir }}/{{ opencv.file }}