mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-18 19:10:39 +01:00
Change order when applying flannel templates.
This commit is contained in:
parent
5e3eb9029c
commit
958650b823
@ -30,8 +30,8 @@
|
|||||||
- name: Configure Flannel networking.
|
- name: Configure Flannel networking.
|
||||||
command: "{{ item }}"
|
command: "{{ item }}"
|
||||||
with_items:
|
with_items:
|
||||||
- kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
|
|
||||||
- kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml
|
- kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml
|
||||||
|
- kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
|
||||||
register: flannel_result
|
register: flannel_result
|
||||||
changed_when: "'created' in flannel_result.stdout"
|
changed_when: "'created' in flannel_result.stdout"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user