fedora-upgrade: fix version comparisons, prevent downgrade attempts
This commit is contained in:
parent
c64e78b724
commit
8e3b38c937
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- include_tasks: tasks.yml
|
- include_tasks: tasks.yml
|
||||||
when: (ansible_distribution in ["Fedora"] and not is_atomic) and (ansible_distribution_version != fedora_target and ansible_distribution_version|int >= fedora_minimum)
|
when: (ansible_distribution in ["Fedora"] and not is_atomic) and (ansible_distribution_version < fedora_target and ansible_distribution_version|int >= fedora_minimum)
|
||||||
|
|
Loading…
Reference in a new issue