Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

42 рядки
1.7KB

  1. ---
  2. - name: nextcloud platforms
  3. uri:
  4. url: https://apps.nextcloud.com/api/v1/platforms.json
  5. register: _nextcloud_platforms
  6. - name: nextcloud archive checksum download
  7. get_url:
  8. url: https://download.nextcloud.com/server/releases/nextcloud-{{ nextcloud_version }}.tar.bz2.sha256
  9. dest: "{{nextcloud_archive_directory}}/nextcloud-{{ nextcloud_version }}.tar.bz2.sha256"
  10. - name: nextcloud server archive checksum
  11. shell: cat "{{nextcloud_archive_directory}}/nextcloud-{{ nextcloud_version }}.tar.bz2.sha256"
  12. register: _nextcloud_server_archive_checksum
  13. changed_when: false
  14. - name: nextcloud archive download
  15. get_url:
  16. url: https://download.nextcloud.com/server/releases/nextcloud-{{ nextcloud_version }}.tar.bz2
  17. dest: "{{nextcloud_archive_directory}}/nextcloud-{{ nextcloud_version }}.tar.bz2"
  18. checksum: sha256:{{ _nextcloud_server_archive_checksum.stdout_lines[0].split(' ')[0] }}
  19. - name: nextcloud archive signature download
  20. get_url:
  21. url: https://download.nextcloud.com/server/releases/nextcloud-{{ nextcloud_version }}.tar.bz2.asc
  22. dest: "{{nextcloud_archive_directory}}/nextcloud-{{ nextcloud_version }}.tar.bz2.asc"
  23. - name: nextcloud archive signature check
  24. command: gpg --no-default-keyring --keyring "{{nextcloud_archive_directory}}/keyring.gpg"
  25. --verify "{{nextcloud_archive_directory}}/nextcloud-{{ nextcloud_version }}.tar.bz2.asc"
  26. "{{nextcloud_archive_directory}}/nextcloud-{{ nextcloud_version }}.tar.bz2"
  27. changed_when: false
  28. - name: nextcloud extract
  29. unarchive:
  30. src: "{{nextcloud_archive_directory}}/nextcloud-{{ nextcloud_version }}.tar.bz2"
  31. remote_src: yes
  32. dest: /var/www/
  33. owner: root
  34. group: www-data