mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 16:40:45 +02:00
9 lines
376 B
YAML
9 lines
376 B
YAML
- block:
|
|
- include_tasks: 03_plugin_routines.yml
|
|
when: plugin_value.enabled | bool
|
|
|
|
- name: disable {{ plugin_key }} nextcloud plugin
|
|
command: "{{nextcloud_docker_exec_occ}} app:disable {{ plugin_key }}"
|
|
register: disable_result
|
|
changed_when: disable_result.rc == 0 and ("No such app enabled" not in disable_result.stdout)
|
|
when: not (plugin_value.enabled | bool) |