This commit is contained in:
tanshanshan 2017-08-01 16:38:56 +08:00
parent e55f8a61cd
commit d01634ea8b

View file

@ -38,7 +38,6 @@
template:
src: namespace.j2
dest: "{{kube_config_dir}}/{{system_namespace}}-ns.yml"
run_once: yes
when: inventory_hostname == groups['kube-master'][0]
tags: apps
@ -47,7 +46,7 @@
register: 'kubesystem'
changed_when: False
failed_when: False
run_once: yes
when: inventory_hostname == groups['kube-master'][0]
tags: apps
- name: Create kube system namespace