diff --git a/handlers/main.yml b/handlers/main.yml index 711bd7d..f4acf29 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -17,3 +17,4 @@ service: name: apache2 state: restarted + when: "'apache2' in services" diff --git a/tasks/main.yml b/tasks/main.yml index 4be8089..2cd888b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -61,6 +61,9 @@ copy: no when: download.changed +- name: Get service facts + service_facts: + - name: Link to current release file: src: "{{ roundcube_user_home }}/roundcubemail-{{ roundcube_version }}/"