when and run_once are reduplicative (#1694)
This commit is contained in:
parent
bd272e0b3c
commit
477afa8711
1 changed files with 1 additions and 2 deletions
|
@ -12,7 +12,6 @@
|
||||||
template:
|
template:
|
||||||
src: namespace.j2
|
src: namespace.j2
|
||||||
dest: "{{kube_config_dir}}/{{system_namespace}}-ns.yml"
|
dest: "{{kube_config_dir}}/{{system_namespace}}-ns.yml"
|
||||||
run_once: yes
|
|
||||||
when: inventory_hostname == groups['kube-master'][0]
|
when: inventory_hostname == groups['kube-master'][0]
|
||||||
tags: apps
|
tags: apps
|
||||||
|
|
||||||
|
@ -21,7 +20,7 @@
|
||||||
register: 'kubesystem'
|
register: 'kubesystem'
|
||||||
changed_when: False
|
changed_when: False
|
||||||
failed_when: False
|
failed_when: False
|
||||||
run_once: yes
|
when: inventory_hostname == groups['kube-master'][0]
|
||||||
tags: apps
|
tags: apps
|
||||||
|
|
||||||
- name: Create kube system namespace
|
- name: Create kube system namespace
|
||||||
|
|
Loading…
Reference in a new issue