--- - name: nextcloud server download get_url: url: https://download.nextcloud.com/server/releases/nextcloud-{{ nextcloud_server_version }}.tar.bz2 dest: /var/www/nextcloud-{{ nextcloud_server_version }}.tar.bz2 sha256sum: "{{ nextcloud_server_sha256sum }}" - name: nextcloud server extract unarchive: src: /var/www/nextcloud-{{ nextcloud_server_version }}.tar.bz2 dest: /var/www/ remote_src: yes owner: root group: root