# httpd ~~ roles/httpd_pre/main.yml # prerequisites for `httpd` role --- - name: ensure httpd.d directory exists file: path: /etc/httpd.d state: directory owner: "{{ user_root }}" group: "{{ group_root }}" mode: 0644 - name: ensure htpasswd directory exists file: path: /var/www/htpasswd state: directory owner: "www" group: "www" mode: 0700