diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-06-30 21:46:18 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-06-30 21:46:18 +0200 |
commit | d89e58a60ff8350b1650610c14996ca0a69e0d70 (patch) | |
tree | c567f913b031898cdd8f4c7fb94609f21587fef6 /roles/apps/coturn/tasks | |
parent | resync preseed files (diff) | |
parent | fix pod manifest permissions (diff) |
Merge branch 'topic/standalone-kubelet'
Diffstat (limited to 'roles/apps/coturn/tasks')
-rw-r--r-- | roles/apps/coturn/tasks/main.yml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/roles/apps/coturn/tasks/main.yml b/roles/apps/coturn/tasks/main.yml index 132e4847..176be664 100644 --- a/roles/apps/coturn/tasks/main.yml +++ b/roles/apps/coturn/tasks/main.yml @@ -68,8 +68,15 @@ include_role: name: nginx/vhost -- name: generate pod manifests - template: - src: "pod.yml.j2" - dest: "/etc/kubernetes/manifests/coturn-{{ coturn_realm }}.yml" - mode: 0600 +- name: install pod manifest + vars: + kubernetes_standalone_pod: + name: "coturn-{{ coturn_realm }}" + spec: "{{ lookup('template', 'pod-spec.yml.j2') }}" + mode: "0600" + config_hash_items: + - path: "{{ coturn_base_path }}/{{ coturn_realm }}/config/turnserver.conf" + properties: + - checksum + include_role: + name: kubernetes/standalone/pod |