Skip to content
Snippets Groups Projects
Commit 477afa87 authored by tanshanshan's avatar tanshanshan Committed by Matthew Mosesohn
Browse files

when and run_once are reduplicative (#1694)

parent bd272e0b
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,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
......@@ -21,7 +20,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment