Преглед на файлове

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


Loading…
Отказ
Запис