Added git to its downloads.
Slight syntax modifications.
This commit is contained in:
parent
668d66c583
commit
2e68916722
@ -97,7 +97,7 @@ _kubeadm_join_command: Placeholder, will be populated at later stages of the scr
|
||||
- Update -> Upgrade.
|
||||
- Uninstalls `containerd`.
|
||||
- Installs Docker (Debian) and Kubernetes repos.
|
||||
- Installs `containerd.io`, `kublet`, `kubeadm`, `kubectl`.
|
||||
- Installs `containerd.io`, `kubelet`, `kubeadm`, `kubectl`, `git`.
|
||||
- Sets default config for `containerd` with cGroups enabled.
|
||||
- Enables some `iptables`.
|
||||
- "Resets" `/etc/hosts` file
|
||||
|
@ -30,37 +30,10 @@
|
||||
|
||||
# Network Plugin
|
||||
|
||||
# Download and install Flannel
|
||||
|
||||
#- name: Download and install Flannel
|
||||
# ansible.builtin.get_url:
|
||||
# url: https://github.com/flannel-io/flannel/releases/download/v0.19.2/flanneld-arm64
|
||||
# dest: /usr/local/bin/flanneld
|
||||
# owner: root
|
||||
# group: root
|
||||
# mode: '0755'
|
||||
#
|
||||
#- name: Create Flannel networks directory
|
||||
# ansible.builtin.file:
|
||||
# path: /var/lib/k8s/flannel/networks
|
||||
# state: directory
|
||||
# recurse: yes
|
||||
# owner: root
|
||||
# group: root
|
||||
# mode: '0755'
|
||||
#-
|
||||
#
|
||||
- name: Calico
|
||||
ansible.builtin.command: "kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/calico.yaml"
|
||||
|
||||
#- name: Calico Tigera ?
|
||||
# ansible.builtin.shell: "kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/tigera-operator.yaml"
|
||||
# become_user: some_user
|
||||
#- name: Calico Custom resources ?
|
||||
# ansible.builtin.command: "kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/custom-resources.yaml"
|
||||
#
|
||||
#
|
||||
## Remove taints
|
||||
# Remove taints
|
||||
- name: Remove Taint (allows deployment in control plane)
|
||||
ansible.builtin.shell: "kubectl taint nodes --all node-role.kubernetes.io/control-plane-"
|
||||
|
||||
|
@ -95,6 +95,7 @@
|
||||
- kubelet
|
||||
- kubeadm
|
||||
- kubectl
|
||||
- git # fuck it, you will need it
|
||||
|
||||
- name: Hold kubeadm
|
||||
ansible.builtin.dpkg_selections:
|
||||
|
Loading…
x
Reference in New Issue
Block a user