summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2015-11-16 19:34:29 +0000
committerKevin Fenzi <kevin@scrye.com>2015-11-16 19:34:29 +0000
commit8daa51aa45715a67766fa8a4c2fbdecf15b287d4 (patch)
treedb9e1aab0b3013c4cfcb1302109ec7ea1b7081c5 /tasks
parent3b5b9ca62c3f7f5db34793eb011c16a814a391db (diff)
Add some logic to prep f23 cloud images for ansible.
Diffstat (limited to 'tasks')
-rw-r--r--tasks/persistent_cloud_new.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/tasks/persistent_cloud_new.yml b/tasks/persistent_cloud_new.yml
index f6ca70f72..7c10eeab5 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