11 lines
294 B
YAML
11 lines
294 B
YAML
---
|
|
|
|
- name: Get nextcloud version
|
|
ansible.builtin.uri:
|
|
url: "https://{{ nextcloud_access_url }}/status.php"
|
|
register: nextcloud_installed_version
|
|
|
|
- name: Compare nextcloud version
|
|
ansible.builtin.assert:
|
|
that: nextcloud_installed_version.json.versionstring == nextcloud_version
|