Files
ansible/roles/nextcloud/tasks/nextcloud_modules.yml
VC 0b7fc894da
All checks were successful
ansible-lint / lint-everything (push) Successful in 3s
: improve nextcloud installation
2025-03-11 11:12:56 +01:00

10 lines
317 B
YAML

---
- name: "Install {{ item.name }} module"
become: true
become_user: www-data
ansible.builtin.command:
cmd: "php occ app:install {{ item.force | default(false) | ternary('--force', '') }} {{ item.name }}"
chdir: "{{ nextcloud_app_home }}"
creates: "{{ nextcloud_app_home }}/apps/{{ item.name }}"