aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/kubernetes/tasks/main.yaml
blob: 160ffb8c066458ea983dcb022a1f8348189e3ee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
# file: roles/kubernetes/tasks/main.yaml

- name: Kubernetes - Install distribution - release - machine prerequisites
  include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml'
  tags: install-kubernetes

- name: Kubernetes - Apply kubelet parameter
  lineinfile:
    path: '/etc/default/kubelet'
    state: 'present'
    regexp: '^KUBELET_EXTRA_ARGS=*'
    line: 'KUBELET_EXTRA_ARGS=--feature-gates HugePages=false'
  tags: install-kubernetes