ansible/roles/pypiserver/tasks/main.yaml
2021-06-15 03:30:01 +03:00

13 lines
564 B
YAML

- set_fact:
pypiserver_combined_values: "{{ pypiserver_default_values | combine(pypiserver_values, recursive=true) }}"
- name: Deploy Docker pypiserver
community.kubernetes.helm:
create_namespace: true
release_namespace: "{{ pypiserver_namespace | default(namespace) }}"
release_name: "{{ pypiserver_name | default('pypiserver') }}"
chart_ref: "{{ pypiserver_chart | default('ghp/pypiserver') }}"
chart_version: "{{ pypiserver_version | default(omit) }}"
release_values: "{{ pypiserver_combined_values | from_yaml }}"
wait: true