diff options
author | Thomas Wiest <twiest@redhat.com> | 2015-02-23 15:48:15 -0500 |
---|---|---|
committer | Thomas Wiest <twiest@redhat.com> | 2015-02-23 15:48:15 -0500 |
commit | 1b3be5f6c0d8b0c16dfb4c01744fe24ae830b3ce (patch) | |
tree | 120612cfc444c03dfa768b1fa4a224f12211e9a5 /roles/kubernetes_kubelet/tasks | |
parent | de2fa14b28bf34207dcc21b698cea441d6e918bc (diff) | |
download | openshift-1b3be5f6c0d8b0c16dfb4c01744fe24ae830b3ce.tar.gz openshift-1b3be5f6c0d8b0c16dfb4c01744fe24ae830b3ce.tar.bz2 openshift-1b3be5f6c0d8b0c16dfb4c01744fe24ae830b3ce.tar.xz openshift-1b3be5f6c0d8b0c16dfb4c01744fe24ae830b3ce.zip |
removed kubernetes roles as they're just cruft at this point.
Diffstat (limited to 'roles/kubernetes_kubelet/tasks')
-rw-r--r-- | roles/kubernetes_kubelet/tasks/main.yml | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/roles/kubernetes_kubelet/tasks/main.yml b/roles/kubernetes_kubelet/tasks/main.yml deleted file mode 100644 index b48c0039a..000000000 --- a/roles/kubernetes_kubelet/tasks/main.yml +++ /dev/null @@ -1,31 +0,0 @@ ---- -# tasks file for kubernetes_kubelet -- name: Install kubernetes - yum: pkg=kubernetes state=installed - -- name: Configure kubelet - lineinfile: - dest: /etc/sysconfig/kubernetes - regexp: "{{ item.regex }}" - line: "{{ item.line }}" - with_items: - - { regex: '^KUBE_ETCD_SERVERS=', line: 'KUBE_ETCD_SERVERS=\"http://{{ oo_master_ips[0] }}:4001\"' } - - { regex: '^KUBE_KUBELET_ADDRESS=', line: 'KUBE_KUBELET_ADDRESS=\"0.0.0.0\"' } - - { regex: '^KUBE_KUBELET_HOSTNAME_OVERRIDE=', line: 'KUBE_KUBELET_HOSTNAME_OVERRIDE=\"{{ hostvars[inventory_hostname].ansible_eth0.ipv4.address }}\"' } - notify: - - restart kubelet - - -#- name: write the cadvisor config -# template: src=cadvisor.manifest dest=/etc/kubernetes/manifests/cadvisor.manifest -# notify: -# - restart kubelet - -- name: Enable kubelet - service: name=kubernetes-kubelet enabled=yes state=started - -- name: Open firewalld port for the kubelet - firewalld: port=10250/tcp permanent=false state=enabled - -- name: Save firewalld port for the kubelet - firewalld: port=10250/tcp permanent=true state=enabled |