diff --git a/handlers/main.yml b/handlers/main.yml index 8e7921f..25d14ec 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,5 +1,5 @@ --- - name: restart apache service: - name: "{{ apache_daemon }}" + name: "{{ apache_service }}" state: restarted diff --git a/tasks/configure-Suse.yml b/tasks/configure-Suse.yml index 3df9692..87a0c0f 100644 --- a/tasks/configure-Suse.yml +++ b/tasks/configure-Suse.yml @@ -1,7 +1,7 @@ --- - name: Configure Apache. lineinfile: - dest: "{{ apache_server_root }}/conf/{{ apache_daemon }}.conf" + dest: "{{ apache_server_root }}/listen.conf" regexp: "{{ item.regexp }}" line: "{{ item.line }}" state: present