|
|
@@ -19,7 +19,7 @@ |
|
|
|
when: _nextcloud_version_file_stat.stat.isreg is defined |
|
|
|
register: _nextcloud_get_actual_version_command |
|
|
|
|
|
|
|
- name: ensure that upgrade is happening |
|
|
|
- name: refuse to downgrade |
|
|
|
assert: |
|
|
|
that: _nextcloud_actual_version is version(nextcloud_version, operator='<=', strict=True) or nextcloud_force_downgrade |
|
|
|
msg: refusing to downgrade from {{_nextcloud_actual_version}} to {{nextcloud_version}} |
|
|
|