Skip to content

Commit

Permalink
notify restart handler is moved
Browse files Browse the repository at this point in the history
Restart handler should run only when the systemd service exists. For cases where gie_proxy_install is true but gie_proxy_setup_service is none the restart handler will fail.
  • Loading branch information
sanjaysrikakulam authored Mar 28, 2023
1 parent 29b8915 commit b34bf3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
dest: "{{ gie_proxy_dir }}"
repo: "{{ gie_proxy_git_repo }}"
version: "{{ gie_proxy_git_version |default(omit) }}"
notify:
- Restart GIE Proxy
when: gie_proxy_install

- name: Install Node.js modules
Expand All @@ -24,4 +22,6 @@

- name: Include Service setup tasks
include_tasks: service.yml
notify:
- Restart GIE Proxy
when: gie_proxy_setup_service is not none

0 comments on commit b34bf3c

Please sign in to comment.