fedora-upgrade - minor fix, shell warn=false
This commit is contained in:
parent
067b8b1d73
commit
4ecee1caca
2 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
|
||||
- include_tasks: tasks.yml
|
||||
when: (ansible_distribution in ["Fedora"] and not is_atomic) and (ansible_distribution_version != fedora_target and ansible_distribution_version >= fedora_minimum)
|
||||
when: (ansible_distribution in ["Fedora"] and not is_atomic) and (ansible_distribution_version != fedora_target and ansible_distribution_version|int >= fedora_minimum)
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
state: present
|
||||
|
||||
- name: stage upgraded packages for fedora {{ fedora_target }}
|
||||
shell: dnf -y system-upgrade download --releasever="{{ fedora_target }}"
|
||||
shell: "dnf -y system-upgrade download --releasever={{ fedora_target }}"
|
||||
args:
|
||||
warn: false
|
||||
register: dnf_result
|
||||
changed_when: "'Download complete' in dnf_result.stdout"
|
||||
|
|
Loading…
Reference in a new issue