diff --git a/tasks/persistent_cloud_new.yml b/tasks/persistent_cloud_new.yml index f6ca70f72b..7c10eeab56 100644 --- a/tasks/persistent_cloud_new.yml +++ b/tasks/persistent_cloud_new.yml @@ -74,6 +74,12 @@ # # async: 20 # # poll: 5 # ignore_errors: True +# +# +# The Fedora 23 cloud image doesn't have python2 and dnf bindings for that. +# Install them with the raw module so everything else works. +# - - +- name: prep fedora 23 cloud image for ansible + raw: dnf -y install python-dnf libselinux-python + when: ansible_distribution_major_version|int > 22 and host_is_up|failed