- name: Create www htdocs dir ansible.builtin.file: path: "{{ obsd_www_chroot }}{{ obsd_www_htdocs_dir }}" state: directory owner: www group: www mode: "0775" - name: Add initial dummy index.html file (if one does not exist) ansible.builtin.copy: src: index.html dest: "{{ obsd_www_chroot }}{{ obsd_www_htdocs_dir }}/index.html" force: false owner: root group: wheel mode: "0664" - name: Deploy www vhost fragment ansible.builtin.template: src: httpd.d/www.conf.j2 dest: "{{ obsd_httpd_conf_d }}/www.conf" owner: root group: wheel mode: "0644" notify: Reload httpd