Move namespace file to template directory

This commit is contained in:
Hans Kristian Flaatten 2017-04-18 14:59:14 +02:00 committed by Hans Kristian Flaatten
parent c3c9e955e5
commit d68cfeed6e
No known key found for this signature in database
GPG key ID: 2E4FCF4F88E4422B
2 changed files with 3 additions and 3 deletions

View file

@ -34,9 +34,9 @@
- meta: flush_handlers
- name: copy kube system namespace manifest
copy:
src: namespace.yml
- name: Write kube system namespace manifest
template:
src: namespace.j2
dest: "{{kube_config_dir}}/{{system_namespace}}-ns.yml"
run_once: yes
when: inventory_hostname == groups['kube-master'][0]