From 29683edf319a3da365af3bc723e9a88908fc9965 Mon Sep 17 00:00:00 2001 From: shell Date: Tue, 19 Nov 2024 19:49:03 +0100 Subject: [PATCH] Fixed many typos --- defaults/main.yml | 4 ++-- tasks/configure-Debian.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index cfda0d8..03457cb 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/tasks/configure-Debian.yml b/tasks/configure-Debian.yml index 23ef992..d26bfef 100644 --- a/tasks/configure-Debian.yml +++ b/tasks/configure-Debian.yml @@ -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.