You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- ---
-
- - name: get nextcloud apps list
- uri:
- url: https://apps.nextcloud.com/api/v1/platform/{{ nextcloud_version }}/apps.json
- register: _nextcloud_apps_list
-
- - debug:
- msg:
- _nextcloud_apps: "{{ _nextcloud_apps }}"
-
- - name: nextcloud apps download
- get_url:
- url: "{{ _nextcloud_apps[item].url }}"
- dest: "{{nextcloud_archive_directory}}/nextcloud-{{item}}-{{ _nextcloud_apps[item].version }}.tar.gz"
- with_items: "{{ nextcloud_apps }}"
-
- - name: nextcloud apps extract
- unarchive:
- src: "{{nextcloud_archive_directory}}/nextcloud-{{item}}-{{ _nextcloud_apps[item].version }}.tar.gz"
- dest: /var/www/nextcloud/apps/
- remote_src: yes
- owner: root
- group: root
- with_items: "{{ nextcloud_apps }}"
-
- - name: nextcloud enable apps
- command: php occ app:enable {{item.name}}
- with_items: "{{ nextcloud_apps }}"
- args:
- chdir: /var/www/nextcloud
- become: true
- become_user: www-data
- become_method: sudo
|