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