- name: create httpd directory file: path: /etc/httpd.d state: directory owner: 0 group: 0 mode: 0644 - name: create htpasswd directory file: path: /var/www/htpasswd state: directory owner: "www" group: "www" mode: 0700 - name: mount nfs in chroot include_role: name: nfsclient vars: nfsclient_dir: "{{ httpd_chroot }}/data" when: httpd_use_nfs