Skip to content

Commit

Permalink
fix handler rename
Browse files Browse the repository at this point in the history
  • Loading branch information
morbidick committed Feb 12, 2023
1 parent df952c5 commit 201d743
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
dest: "{{ semaphore_executable }}"
state: "link"
notify:
- semaphore restart
- Semaphore restart

- name: Read previous config
ansible.builtin.slurp:
Expand All @@ -85,14 +85,14 @@
dest: "{{ semaphore_config_path }}"
mode: 0644
notify:
- semaphore restart
- Semaphore restart

- name: Setup db migrations
ansible.builtin.command: "{{ semaphore_command }} migrate"
register: semaphore_migrations
changed_when: "'Executing migration' in semaphore_migrations.stdout"
notify:
- semaphore restart
- Semaphore restart

- name: Check users
ansible.builtin.command: "{{ semaphore_command }} user list"
Expand All @@ -110,7 +110,7 @@
dest: "{{ semaphore_systemd_unit_path }}"
mode: 0644
notify:
- semaphore restart
- Semaphore restart

- name: Service start
ansible.builtin.systemd:
Expand Down

0 comments on commit 201d743

Please sign in to comment.