Revert "Conditionalize this for fedora 22 which has only dnf, no yum."

Turns out we don't have facts gathered here, so this won't work.
Also, in the new cloud we don't need this task at all.

This reverts commit 69d865e7ff.
This commit is contained in:
Kevin Fenzi 2015-06-02 13:44:32 +00:00
parent 9e757aa0fb
commit af2f786498

View file

@ -5,16 +5,9 @@
- config
- name: install cloud-utils
yum: name=cloud-utils state=present
action: yum name=cloud-utils state=present
tags:
- packages
when: ansible_distribution_major_version|int < 22 and ansible_cmdline.ostree is not defined
- name: install cloud-utils
dnf: name=cloud-utils state=present
tags:
- packages
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
- name: growpart the second partition (/) to full size
command: growpart /dev/vda 2