diff options
| author | alex <alex@pdp7.net> | 2023-07-02 18:50:36 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-07-02 18:50:36 +0200 |
| commit | 865331dcd82d3561fc736f226f84030516e7e832 (patch) | |
| tree | a5d0edf94eb2cdc87cfc6b5b456188dd77966391 /personal_infra/playbooks/roles | |
| parent | 9229fbe4de52bc8331068c3f1bedb20a8b3de05d (diff) | |
Flesh out weight deployment
Diffstat (limited to 'personal_infra/playbooks/roles')
| -rw-r--r-- | personal_infra/playbooks/roles/zqxjkcrud/tasks/main.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/personal_infra/playbooks/roles/zqxjkcrud/tasks/main.yaml b/personal_infra/playbooks/roles/zqxjkcrud/tasks/main.yaml new file mode 100644 index 00000000..f6ddcdb5 --- /dev/null +++ b/personal_infra/playbooks/roles/zqxjkcrud/tasks/main.yaml @@ -0,0 +1,13 @@ +--- +- name: render manifests + command: kubectl run --context {{ context }} -q -n default -i --rm builder --image quay.io/alexpdp7/zqxjkcrud:update --restart=Never --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 |
