From c3f5b2142772db8ba5e8f786d65d8e8be1a3ae06 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 30 Nov 2015 20:56:00 +0000 Subject: [PATCH] Test some tasks to get fedora23 cloud instances working nicely with ansible. --- tasks/transient_cloud.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tasks/transient_cloud.yml b/tasks/transient_cloud.yml index ddde57018d..cdc51b098a 100644 --- a/tasks/transient_cloud.yml +++ b/tasks/transient_cloud.yml @@ -53,3 +53,13 @@ # we have to wait some time. 10 sec is usually enough, but not always. - name: waiting for cloud-init pause: seconds=30 + +- name: gather facts + setup: + always_run: True + ignore_errors: True + register: facts + +- name: install python2 and dnf stuff + raw: dnf -y install python-dnf libselinux-python + when: facts|failed