24 lines
679 B
YAML
24 lines
679 B
YAML
- name: Apply new SELinux file context to filesystem.
|
|
ansible.builtin.command: "restorecon -irF {{ hedgedoc_install_dir }}"
|
|
become: true
|
|
listen: "hedgedoc selinux context changed"
|
|
|
|
- name: Restart hedgedoc service.
|
|
ansible.builtin.systemd:
|
|
state: restarted
|
|
name: hedgedoc.service
|
|
daemon_reload: true
|
|
become: true
|
|
listen:
|
|
- "hedgedoc service changed"
|
|
- "hedgedoc selinux context changed"
|
|
|
|
- name: Restart hedgedoc-postgres service.
|
|
ansible.builtin.systemd:
|
|
state: restarted
|
|
name: hedgedoc-postgres.service
|
|
daemon_reload: true
|
|
become: true
|
|
listen:
|
|
- "hedgedoc postgres service changed"
|
|
- "hedgedoc selinux context changed"
|