You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
605 B
YAML
30 lines
605 B
YAML
---
|
|
|
|
### tags:
|
|
|
|
- name: Install dependencies
|
|
ansible.builtin.package:
|
|
name: "{{ item }}"
|
|
state: latest
|
|
loop:
|
|
- python3-pip
|
|
when:
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
|
|
|
- name: Install pip dependencies
|
|
ansible.builtin.pip:
|
|
name: "{{ item }}"
|
|
loop:
|
|
- kubernetes
|
|
when:
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|
|
|
|
- name: Install Helm plugins
|
|
kubernetes.core.helm_plugin:
|
|
plugin_path: "{{ item }}"
|
|
state: present
|
|
loop:
|
|
- https://github.com/databus23/helm-diff
|
|
when:
|
|
- inventory_hostname == groups['kube_control_plane'][0]
|