Переглянути джерело

refuse to downgrade

master
Markus Katharina Brechtel 6 роки тому
джерело
коміт
634c96254a
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      tasks/detect-update.yaml

+ 1
- 1
tasks/detect-update.yaml Переглянути файл

@@ -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}}


Завантаження…
Відмінити
Зберегти