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.

пре 7 година
1234567891011121314151617181920212223242526
  1. ---
  2. - name: nextcloud apps download
  3. get_url:
  4. url: "{{ item.url }}"
  5. dest: /var/www/nextcloud-app-{{item.name}}-{{ item.version }}.tar.gz
  6. sha256sum: "{{ item.sha256sum }}"
  7. with_items: "{{ nextcloud_apps }}"
  8. - name: nextcloud apps extract
  9. unarchive:
  10. src: /var/www/nextcloud-app-{{item.name}}-{{ item.version }}.tar.gz
  11. dest: /var/www/nextcloud/apps/
  12. remote_src: yes
  13. owner: root
  14. group: root
  15. with_items: "{{ nextcloud_apps }}"
  16. - name: nextcloud enable apps
  17. command: php occ app:enable {{item.name}}
  18. with_items: "{{ nextcloud_apps }}"
  19. args:
  20. chdir: /var/www/nextcloud
  21. become: true
  22. become_user: www-data
  23. become_method: sudo