baseline/baseline.yml

22 lines
702 B
YAML
Raw Normal View History

2021-11-28 22:36:39 +00:00
- hosts: localhost
gather_facts: no
connection: local
tasks:
- name: add chart repos
community.kubernetes.helm_repository:
2021-12-05 13:12:26 +00:00
name: "{{ item.repo }}"
repo_url: "{{ item.url }}"
loop: "{{ helm_repos }}"
2021-11-28 22:36:39 +00:00
- name: install charts
community.kubernetes.helm:
2021-12-05 13:12:26 +00:00
name: "{{ item.name }}"
chart_ref: "{{ item.chart }}"
chart_version: "{{ item.version|default(omit) }}"
values: "{{ item.vals|default(omit) }}"
release_namespace: "{{ item.namespace | default(item.name) }}"
2021-11-28 22:36:39 +00:00
create_namespace: true
2021-12-05 13:12:26 +00:00
loop: "{{ helm_charts }}"
2021-11-28 22:36:39 +00:00
- name: apply post-install manifests
k8s:
src: files/grafana-provisioning.yml