Skip to content

Commit

Permalink
Restart Apache when restarting Tor during installation
Browse files Browse the repository at this point in the history
If the configuration of v2 and v3 services is modified, Apache needs
to be restarted for the app config to reflect the changes, so that
migration warnings are accurate.
  • Loading branch information
rmol committed Jan 20, 2021
1 parent cbcc894 commit cd8e143
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
state: started
become: no

- name: Restart Apache to pick up Tor configuration changes
service:
name: apache2
state: restarted
when: "'securedrop_application_server' in group_names"

- name: Refresh ansible local facts
setup:
filter: ansible_local

0 comments on commit cd8e143

Please sign in to comment.