ansible/roles/pypiserver/tasks/main.yaml

13 lines
542 B
YAML
Raw Normal View History

2021-01-09 17:54:42 +00:00
- set_fact:
2024-05-25 15:12:30 +00:00
pypiserver_combined_values: "{{ pypiserver_default_values | combine(pypiserver_values | default({}), recursive=true) }}"
2021-01-09 17:54:42 +00:00
2023-06-14 20:02:55 +00:00
- name: Deploy pypiserver
2022-07-12 13:48:14 +00:00
kubernetes.core.helm:
2021-01-09 17:54:42 +00:00
create_namespace: true
release_namespace: "{{ pypiserver_namespace | default(namespace) }}"
release_name: "{{ pypiserver_name | default('pypiserver') }}"
chart_ref: "{{ pypiserver_chart_ref }}"
2021-01-09 17:54:42 +00:00
chart_version: "{{ pypiserver_version | default(omit) }}"
release_values: "{{ pypiserver_combined_values | from_yaml }}"
wait: true