15 lines
446 B
YAML
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"
|