14 lines
431 B
YAML
14 lines
431 B
YAML
- name: Apply new SELinux file context to filesystem.
|
|
ansible.builtin.command: "restorecon -irF {{ elementweb_install_dir }}"
|
|
become: true
|
|
listen: "elementweb selinux context changed"
|
|
|
|
- name: Restart elementweb service.
|
|
ansible.builtin.systemd:
|
|
state: restarted
|
|
name: elementweb.service
|
|
daemon_reload: true
|
|
become: true
|
|
listen:
|
|
- "elementweb service changed"
|
|
- "elementweb selinux context changed"
|