Description
What happened?
Failed to execute task Helm | Install PyYaml
.
What did you expect to happen?
Complete the installation or skip it.
How can we reproduce it (as minimally and precisely as possible)?
Run the installation with helm_enabled=true
OS
Linux 6.6.9-200.fc39.aarch64 aarch64
NAME="Fedora Linux"
VERSION="39.20240112.3.0 (CoreOS)"
ID=fedora
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Fedora CoreOS 39.20240112.3.0"
Version of Ansible
ansible [core 2.15.8]
Version of Python
Python 3.12.1
Version of Kubespray (commit)
Network plugin used
calico
Full inventory with variables
No response
Command used to invoke ansible
ansible-playbook -i inventory/mycluster/hosts.yaml cluster.yml -b -vv -e kubelet_rotate_server_certificates=true
Output of ansible run
TASK [kubernetes-apps/helm : Helm | Install PyYaml] ***********************************************
task path: /Users/tsuguya/homedev/kubespray-test/roles/kubernetes-apps/helm/tasks/main.yml:16
fatal: [node1]: FAILED! => {"changed": false, "msg": "missing required arguments: backend, image"}
Anything else we need to know
I'm currently running it with the following changes:
- name: Helm | Install PyYaml
package:
name: "{{ pyyaml_package }}"
state: present
when:
- pyyaml_package is defined
- not is_fedora_coreos
- name: Helm | Install PyYaml [Fedora CoreOS]
community.general.rpm_ostree_pkg:
name: python3-pyyaml
when:
- is_fedora_coreos
register: rpm_ostree_install_pyyaml_result
- name: Helm | Reboot if PyYaml was installed [Fedora CoreOS]
when:
- rpm_ostree_install_pyyaml_result is defined
- rpm_ostree_install_pyyaml_result.changed
reboot: