diff --git a/playbooks/transient_newcloud_instance.yml b/playbooks/transient_newcloud_instance.yml index 50b118da4d..e272e149f0 100644 --- a/playbooks/transient_newcloud_instance.yml +++ b/playbooks/transient_newcloud_instance.yml @@ -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