k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
479 B
21 lines
479 B
---
|
|
|
|
- name: Bootstrap | Check if bootstrap is needed
|
|
raw: which "{{ item }}"
|
|
register: need_bootstrap
|
|
failed_when: false
|
|
changed_when: false
|
|
with_items:
|
|
- python
|
|
environment: {}
|
|
tags: facts
|
|
|
|
- name: Install python on fedora
|
|
raw: "dnf install --assumeyes --quiet python"
|
|
environment: {}
|
|
when: need_bootstrap.results | map(attribute='rc') | sort | last | bool
|
|
|
|
- name: Install required python packages
|
|
dnf:
|
|
name: libselinux-python
|
|
state: present
|