Merge pull request #1238 from Starefossen/fix/namespace-template-file

Move namespace file to template directory
pull/1243/merge
Matthew Mosesohn 2017-04-20 12:19:55 +03:00 committed by GitHub
commit 19bb97d24d
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]