diff --git a/README.md b/README.md index 0e50138..7f1ac25 100644 --- a/README.md +++ b/README.md @@ -113,11 +113,11 @@ apache_options: "-Indexes +FollowSymLinks" The default values for the `AllowOverride` and `Options` directives for the `documentroot` directory of each vhost. A vhost can overwrite these values by specifying `allow_override` or `options`. ```yaml -apache_confs_enabled: [] -apache_confss_disabled: [] +apache_conf_enabled: [] +apache_conf_disabled: [] ``` -Same as Apache mods. But this is for additional confs. The corresponding direcotry is `mods-available` inside the apache apache configuration directory. +Same as Apache mods. But this is for additional confs. The corresponding direcotry is `conf-available` inside the apache apache configuration directory. ```yaml apache_mods_enabled: diff --git a/tasks/configure-Debian.yml b/tasks/configure-Debian.yml index d26bfef..73634db 100644 --- a/tasks/configure-Debian.yml +++ b/tasks/configure-Debian.yml @@ -27,8 +27,8 @@ - name: Enable Apache confs. ansible.builtin.file: - src: "{{ apache_server_root }}/conf-available/{{ item }}.load" - dest: "{{ apache_server_root }}/conf-enabled/{{ item }}.load" + src: "{{ apache_server_root }}/conf-available/{{ item }}.conf" + dest: "{{ apache_server_root }}/conf-enabled/{{ item }}.conf" state: link mode: "0644" with_items: "{{ apache_conf_enabled }}" @@ -36,7 +36,7 @@ - name: Disable Apache confs.. ansible.builtin.file: - path: "{{ apache_server_root }}/conf-enabled/{{ item }}.load" + path: "{{ apache_server_root }}/conf-enabled/{{ item }}.conf" state: absent with_items: "{{ apache_conf_disabled }}" notify: restart apache