blob: 9aa2dc1619b959050d2c0d8cf72238b83cc3ee22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---
- name: render manifests
command: kubectl run --context {{ context }} -q -n default -i --rm builder --image quay.io/alexpdp7/zqxjkcrud:master --restart=Never --image-pull-policy=Always --command -- zqxjkcrud-manifest-builder
args:
stdin: "{{ definition|to_yaml }}"
register: manifestbuild
delegate_to: 127.0.0.1
- k8s:
context: "{{ context }}"
state: present
apply: true
definition: "{{ manifestbuild.stdout | from_yaml_all }}"
delegate_to: 127.0.0.1
|