Skip to content

Commit

Permalink
Restart Apache when in services
Browse files Browse the repository at this point in the history
  • Loading branch information
neidiom committed Apr 16, 2023
1 parent a9f22e3 commit 2a1d18c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
service:
name: apache2
state: restarted
when: "'apache2' in services"
3 changes: 3 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}/"
Expand Down

0 comments on commit 2a1d18c

Please sign in to comment.