feat: Optionally disable the pluginmanager

This commit is contained in:
phil 2025-04-20 11:40:35 +02:00
parent d569f0335b
commit 46de2f30a9
5 changed files with 20 additions and 0 deletions

View file

@ -56,3 +56,18 @@
path: /etc/rabbitmq/rabbitmq-env.conf
line: "NODE_IP_ADDRESS={{ rabbitmq_listen_address }}"
notify: Restart RabbitMQ
- name: "Install | Remove Pluginmanager"
when: onlyoffice_disable_pluginmanager
block:
- name: Remove Pluginmanager directory
ansible.builtin.file:
path: /var/www/onlyoffice/documentserver/sdkjs-plugins/marketplace
state: absent
notify: Restart documentserver
- name: Copy apt post hool script
ansible.builtin.copy:
src: 99-onyloffice
dest: /etc/apt/apt.conf.d/99-onyloffice
mode: "0644"