diff --git a/tasks/master-setup.yml b/tasks/master-setup.yml index 3b4a1bb..89c1922 100644 --- a/tasks/master-setup.yml +++ b/tasks/master-setup.yml @@ -30,8 +30,8 @@ - name: Configure Flannel networking. command: "{{ item }}" 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/kube-flannel.yml register: flannel_result changed_when: "'created' in flannel_result.stdout"