Move namespace file to template directory
This commit is contained in:
parent
c3c9e955e5
commit
d68cfeed6e
2 changed files with 3 additions and 3 deletions
|
@ -34,9 +34,9 @@
|
||||||
|
|
||||||
- meta: flush_handlers
|
- meta: flush_handlers
|
||||||
|
|
||||||
- name: copy kube system namespace manifest
|
- name: Write kube system namespace manifest
|
||||||
copy:
|
template:
|
||||||
src: namespace.yml
|
src: namespace.j2
|
||||||
dest: "{{kube_config_dir}}/{{system_namespace}}-ns.yml"
|
dest: "{{kube_config_dir}}/{{system_namespace}}-ns.yml"
|
||||||
run_once: yes
|
run_once: yes
|
||||||
when: inventory_hostname == groups['kube-master'][0]
|
when: inventory_hostname == groups['kube-master'][0]
|
||||||
|
|
Loading…
Reference in a new issue