Ansible does not create directories CentOS7
You have two mistakes:


name as parameter of file module. It is an alias of path, so you actually try to create directory add dir.
Unnecessary single quotes in path, giving you actual paths like etc/ansible/roles/webservers/'handlers'.


Try with:

...
- name: add dir
  file:
    path: '/etc/ansible/roles/webservers/{{ item }}'
...