fedora-upgrade - minor fix, shell warn=false

This commit is contained in:
Josh Lay 2019-10-02 23:42:09 -05:00
parent 067b8b1d73
commit 4ecee1caca
2 changed files with 4 additions and 3 deletions

View file

@ -6,8 +6,9 @@
state: present
- name: stage upgraded packages for fedora {{ fedora_target }}
shell: dnf -y system-upgrade download --releasever="{{ fedora_target }}"
warn: false
shell: "dnf -y system-upgrade download --releasever={{ fedora_target }}"
args:
warn: false
register: dnf_result
changed_when: "'Download complete' in dnf_result.stdout"