Преглед изворни кода

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…
Откажи
Сачувај