Fixed many typos

This commit is contained in:
shell 2024-11-19 19:49:03 +01:00
parent 5e6ae90cd5
commit 29683edf31
2 changed files with 7 additions and 7 deletions

View file

@ -48,10 +48,10 @@ apache_mods_enabled:
apache_mods_disabled: []
# Enable additional configs
apache_confs_enabled: []
apache_conf_enabled: []
# Disable these configs
apache_confs_disabled: []
apache_conf_disabled: []
# Set initial apache state. Recommended values: `started` or `stopped`
apache_state: started

View file

@ -27,18 +27,18 @@
- name: Enable Apache confs.
ansible.builtin.file:
src: "{{ apache_server_root }}/confs-available/{{ item }}.load"
dest: "{{ apache_server_root }}/confs-enabled/{{ item }}.load"
src: "{{ apache_server_root }}/conf-available/{{ item }}.load"
dest: "{{ apache_server_root }}/conf-enabled/{{ item }}.load"
state: link
mode: "0644"
with_items: "{{ apache_confs_enabled }}"
with_items: "{{ apache_conf_enabled }}"
notify: restart apache
- name: Disable Apache confs..
ansible.builtin.file:
path: "{{ apache_server_root }}/confs-enabled/{{ item }}.load"
path: "{{ apache_server_root }}/conf-enabled/{{ item }}.load"
state: absent
with_items: "{{ apache_confs_disabled }}"
with_items: "{{ apache_conf_disabled }}"
notify: restart apache
- name: Check whether certificates defined in vhosts exist.