try running this on the right host with delegate_to

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2018-07-13 22:32:59 +00:00
parent 8fef92cf30
commit a8c546e676

View file

@ -46,12 +46,14 @@
- import_tasks: "{{ tasks_path }}/transient_newcloud.yml"
- name: gather facts
delegate_to: tmp_just_created
setup:
check_mode: no
ignore_errors: True
register: facts
- name: install python2 and dnf stuff
delegate_to: tmp_just_created
raw: dnf -y install python-dnf libselinux-python
when: facts is failed