diff --git a/tasks/config_webserver.yml b/tasks/config_webserver.yml index 53e815d..69a679c 100644 --- a/tasks/config_webserver.yml +++ b/tasks/config_webserver.yml @@ -1,3 +1,14 @@ +- name: Create httpd config directories for CentOS + file: + path: "{{httpd_conf_directory}}/{{ item }}/" + state: directory + owner: "{{ matomo_user }}" + group: "{{ matomo_user }}" + mode: "urwx,gr,o-rwx" + with_items: + - "conf-available" + - "conf-enabled" + when: ansible_os_family == "RedHat" - name: Install matomo httpd config file template: