Fix CI issue with Fedora

This commit is contained in:
Andreas Kruger 2018-09-20 15:45:15 +02:00
parent 1f1a87bd3d
commit 442e6e55b6

View file

@ -10,9 +10,8 @@
tags: facts
- name: Install python on fedora
raw: "dnf install --assumeyes --quiet {{ item['item'] }}"
when: item['rc'] != 0
loop: "{{ need_bootstrap['results'] }}"
raw: "dnf install --assumeyes --quiet python"
when: "{{ need_bootstrap.results | map(attribute='rc') | sort | last | bool }}"
- name: Install required python packages
dnf: