Skip to content

Commit

Permalink
Refactor tasks that can notify handler
Browse files Browse the repository at this point in the history
  • Loading branch information
peterMuriuki committed Feb 27, 2020
1 parent 56ae3ad commit d2d08a9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,8 @@
become: true
become_user: "{{ express_system_user }}"
command: "{{ express_pm2_path }} delete all"
notify:
- start_express_service
ignore_errors: true


- name: Start express pm2 app
become: true
become_user: "{{ express_system_user }}"
Expand All @@ -81,8 +78,6 @@
become_user: "{{ express_system_user }}"
command: "{{ express_pm2_path }} save"
when: express_service_not_exists
notify:
- start_express_service

- name: delete the old startup file
become: true
Expand Down

0 comments on commit d2d08a9

Please sign in to comment.