Merge pull request #2248 from hswong3i/dashboard.yml.j2
Dashboard template should not suffix with .yml.j2pull/2213/merge
commit
37cfd289d8
|
@ -12,10 +12,10 @@
|
||||||
|
|
||||||
- name: Kubernetes Apps | Lay down dashboard template
|
- name: Kubernetes Apps | Lay down dashboard template
|
||||||
template:
|
template:
|
||||||
src: "{{item.file}}"
|
src: "{{ item.file }}.j2"
|
||||||
dest: "{{ kube_config_dir }}/{{ item.file }}"
|
dest: "{{ kube_config_dir }}/{{ item.file }}"
|
||||||
with_items:
|
with_items:
|
||||||
- {file: dashboard.yml.j2, type: deploy, name: kubernetes-dashboard}
|
- { file: dashboard.yml, type: deploy, name: kubernetes-dashboard }
|
||||||
register: manifests
|
register: manifests
|
||||||
when: inventory_hostname == groups['kube-master'][0]
|
when: inventory_hostname == groups['kube-master'][0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue