try running this on the right host with delegate_to
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
8fef92cf30
commit
a8c546e676
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue