okay, as its own play maybe?

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2018-07-13 22:48:53 +00:00
parent 6820a2f48e
commit 0abc502f00

View file

@ -45,15 +45,20 @@
- import_tasks: "{{ tasks_path }}/transient_newcloud.yml"
- name: Install Pythonic stuff.
hosts: tmp_just_created
gather_facts: True
environment:
ANSIBLE_HOST_KEY_CHECKING: False
tasks:
- 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