Added git to its downloads.
Slight syntax modifications.
This commit is contained in:
@ -27,9 +27,7 @@
|
||||
owner: "{{ ansible_user_id }}"
|
||||
become: true
|
||||
|
||||
|
||||
# Network Plugin
|
||||
|
||||
- name: Calico
|
||||
ansible.builtin.command: "kubectl create -f https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/calico.yaml"
|
||||
|
||||
@ -37,9 +35,7 @@
|
||||
- name: Remove Taint (allows deployment in control plane)
|
||||
ansible.builtin.shell: "kubectl taint nodes --all node-role.kubernetes.io/control-plane-"
|
||||
|
||||
|
||||
# Join token / command
|
||||
|
||||
- name: Generate join token
|
||||
shell: kubeadm token create --print-join-command
|
||||
register: kubeadm_join_cmd
|
||||
|
@ -9,7 +9,7 @@
|
||||
- name: Swapoff
|
||||
ansible.builtin.command: swapoff -a
|
||||
|
||||
- name: Disable ram on boot (orangepi) # Untested
|
||||
- name: Disable ram on boot (orangepi) # Untested, confident on working.
|
||||
copy:
|
||||
dest: "/etc/default/orangepi-zram-config"
|
||||
content: ENABLED=false
|
||||
@ -17,7 +17,7 @@
|
||||
- ansible_distribution | lower == "orangepi"
|
||||
- ansible_architecture == "aarch64"
|
||||
|
||||
- name: Disable ram on boot (armbian) # Untested
|
||||
- name: Disable ram on boot (armbian)
|
||||
copy:
|
||||
dest: "/etc/default/armbian-zram-config"
|
||||
content: ENABLED=false
|
||||
@ -96,6 +96,7 @@
|
||||
- kubeadm
|
||||
- kubectl
|
||||
- git # fuck it, you will need it
|
||||
- vim # fuck it, I need it.
|
||||
|
||||
- name: Hold kubeadm
|
||||
ansible.builtin.dpkg_selections:
|
||||
|
Reference in New Issue
Block a user