mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-12-22 11:00:18 +01:00
Fixed many typos
This commit is contained in:
parent
5e6ae90cd5
commit
29683edf31
2 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue