infrastructure/roles/teamspeak/handlers/main.yml
2024-08-14 02:20:20 +02:00

15 lines
446 B
YAML

- name: Apply new SELinux file context to filesystem.
ansible.builtin.command: "restorecon -irF {{ teamspeak_install_dir }}"
become: true
changed_when: true
listen: "teamspeak selinux context changed"
- name: Restart teamspeak service.
ansible.builtin.systemd:
state: restarted
name: teamspeak.service
daemon_reload: true
become: true
listen:
- "teamspeak service changed"
- "teamspeak selinux context changed"