remove modules not available from cli anymore

This commit is contained in:
meaz 2024-03-23 23:26:31 +01:00
parent 35df3485b1
commit 4ec8d5ed2f
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
1 changed files with 0 additions and 12 deletions

View File

@ -11,18 +11,6 @@
become: yes
become_user: "{{ etherpad_username }}"
when: etherpad_plugins_list| dict2items | selectattr('value', 'eq', 'enabled') |length > 0
notify:
restart etherpad
tags: modules
- name: '[Modules] - Uninstall modules'
shell:
cmd: "npm uninstall {{ etherpad_plugins_list| dict2items | selectattr('value', 'eq', 'disabled') | map(attribute='key') |join(',') | replace(\",\", \" \") }}"
args:
chdir: "{{ etherpad_app_dir }}/app"
become: yes
become_user: "{{ etherpad_username }}"
when: etherpad_plugins_list| dict2items | selectattr('value', 'eq', 'disabled') |length > 0
notify:
restart etherpad
tags: modules