c12s-kubespray/roles/kubernetes-apps/tasks/main.yaml

10 lines
392 B
YAML
Raw Normal View History

2016-05-02 15:07:03 +00:00
- name: manage kubernetes applications
kpm:
namespace: "{{item.namespace | default(kpm_namespace | default('default'))}}"
registry: "{{item.registry | default(kpm_registry | default('https://api.kpm.sh'))}}"
state: "{{item.state | default(omit)}}"
version: "{{item.version | default(omit)}}"
name: "{{item.name}}"
with_items: "{{kpm_packages}}"
register: kpmresults