Project31 / ansible-kubernetes-openshift-pi3

Ansible playbooks for setting up a Kubernetes Raspberry Pi 3 cluster
190 stars 55 forks source link

Getting an error running the kubernetes playbook #5

Closed ahillman3 closed 8 years ago

ahillman3 commented 8 years ago

I get a fair way through the playbook when this error occurs:

TASK [kubernetes : Install kubelet service definition] *************************
fatal: [192.168.1.59]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'dns' is undefined"}

I see dns.service_ip in the kubelet.service, but don't see where that should already have been defined. Any assistance would be appreciated.

rhuss commented 8 years ago

Ah, sorry, its a regression.

Will fix that over the weekend.

In the meantime, could you copy over https://github.com/Project31/ansible-kubernetes-openshift-pi3/blob/master/roles/skydns/defaults/main.yml#L13-L15 to https://github.com/Project31/ansible-kubernetes-openshift-pi3/blob/master/roles/kubernetes/defaults/main.yml ?

ahillman3 commented 8 years ago

I'll try that tonight. Thanks.

ahillman3 commented 8 years ago

That worked. Thanks.

rhuss commented 8 years ago

Cool, close it now.