Browse Source

Fix CI issue with Fedora

pull/3368/head
Andreas Kruger 6 years ago
parent
commit
442e6e55b6
1 changed files with 2 additions and 3 deletions
  1. 5
      roles/bootstrap-os/tasks/bootstrap-fedora.yml

5
roles/bootstrap-os/tasks/bootstrap-fedora.yml

@ -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:

Loading…
Cancel
Save