mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
Update to 2022-03-23 17:00
This commit is contained in:
parent
7439bb4f17
commit
c8e45494af
@ -4,3 +4,6 @@
|
||||
service: name={{ item }} state=restarted
|
||||
loop: "{{ oo_services }}"
|
||||
|
||||
- name: generate fonts
|
||||
command: documentserver-generate-allfonts.sh true
|
||||
|
||||
|
@ -19,6 +19,27 @@
|
||||
command: documentserver-generate-allfonts.sh true
|
||||
tags: oo
|
||||
|
||||
- name: Check if there are custom fonts
|
||||
local_action: stat path=config/{{ inventory_hostname }}/onlyoffice_document_server/fonts/
|
||||
register: oo_custom_fonts
|
||||
vars:
|
||||
ansible_become: False
|
||||
tags: oo
|
||||
|
||||
- name: Copy custom fonts
|
||||
block:
|
||||
|
||||
- synchronize:
|
||||
src: config/{{ inventory_hostname }}/onlyoffice_document_server/fonts/
|
||||
dest: /usr/share/fonts/
|
||||
notify: generate fonts
|
||||
|
||||
- name: Fix permissions on fonts
|
||||
file: path=/usr/share/fonts recurse=True owner=root group=root
|
||||
|
||||
when: oo_custom_fonts.stat.exists
|
||||
tags: oo
|
||||
|
||||
- name: Fix permissions on onlyoffice web resources
|
||||
file: path=/var/www/onlyoffice state=directory mode=755
|
||||
tags: oo
|
||||
|
Loading…
x
Reference in New Issue
Block a user