Skip to content

Commit

Permalink
Fixup handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
BrutalBirdie committed Dec 20, 2023
1 parent c6fa3c4 commit 704a71b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tasks/firewalld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
proto: udp
- port: "{{ coturn_min_port }}-{{ coturn_max_port }}"
proto: udp
notify: restart coturn
notify: Restart coturn

- name: Firewalld enable coturn tls ports and certificate renewal
ansible.posix.firewalld:
Expand All @@ -24,4 +24,4 @@
- "{{ coturn_tls_listening_port }}/udp"
- "80/tcp"
when: coturn_use_tls
notify: restart coturn
notify: Restart coturn
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
group: root
mode: '0644'
notify:
- systemd daemon-reload
- restart coturn
- Systemd daemon-reload
- Restart coturn

- name: Create lograte structure
block:
Expand All @@ -119,7 +119,7 @@
owner: root
group: root
mode: 0644
notify: restart coturn
notify: Restart coturn

- name: Configure firewall on ubuntu
ansible.legacy.include_tasks: ufw.yml
Expand Down
4 changes: 2 additions & 2 deletions tasks/ufw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
proto: udp
- port: "{{ coturn_min_port }}:{{ coturn_max_port }}"
proto: udp
notify: restart coturn
notify: Restart coturn

- name: UFW allow coturn tls port and certificate renewal
community.general.ufw:
Expand All @@ -37,7 +37,7 @@
- port: 80
proto: tcp
when: coturn_use_tls
notify: restart coturn
notify: Restart coturn

- name: Enable firewall
community.general.ufw:
Expand Down

0 comments on commit 704a71b

Please sign in to comment.