commit
ae66b6e648
|
@ -1,9 +1,9 @@
|
|||
- name: Weave | Start Resources
|
||||
run_once: true
|
||||
kube:
|
||||
name: "weave-kube"
|
||||
name: "weave-net"
|
||||
kubectl: "{{ bin_dir }}/kubectl"
|
||||
filename: "{{ kube_config_dir }}/weave-kube.yml"
|
||||
filename: "{{ kube_config_dir }}/weave-net.yml"
|
||||
resource: "ds"
|
||||
namespace: "{{system_namespace}}"
|
||||
state: "{{ item | ternary('latest','present') }}"
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
changed_when: false
|
||||
tags: [hyperkube, upgrade]
|
||||
|
||||
- name: Weave | Create weave-kube manifest
|
||||
- name: Weave | Create weave-net manifest
|
||||
template:
|
||||
src: weave-kube.yml.j2
|
||||
dest: "{{ kube_config_dir }}/weave-kube.yml"
|
||||
src: weave-net.yml.j2
|
||||
dest: "{{ kube_config_dir }}/weave-net.yml"
|
||||
register: weave_manifest
|
||||
|
|
Loading…
Reference in New Issue