From c71936d6efbbccaa09f8c6ca4a81d8e4d318a022 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Fri, 19 Jan 2024 22:58:21 -0700 Subject: [PATCH] Add Scripts/Ansible/Playbooks/Linux/Kubernetes/Deploy RKE2 Cluster/1-provision-device.yml --- .../1-provision-device.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Scripts/Ansible/Playbooks/Linux/Kubernetes/Deploy RKE2 Cluster/1-provision-device.yml diff --git a/Scripts/Ansible/Playbooks/Linux/Kubernetes/Deploy RKE2 Cluster/1-provision-device.yml b/Scripts/Ansible/Playbooks/Linux/Kubernetes/Deploy RKE2 Cluster/1-provision-device.yml new file mode 100644 index 0000000..46d57e4 --- /dev/null +++ b/Scripts/Ansible/Playbooks/Linux/Kubernetes/Deploy RKE2 Cluster/1-provision-device.yml @@ -0,0 +1,29 @@ +--- +- name: Ubuntu Server-Based Cluster Deployment #This is specific to my homelab + hosts: all + become: yes + tasks: + - name: Fetch Updates Prior to Software Installation + apt: + update_cache: yes + + - name: Install nfs-common, iptables, nano, and htop + apt: + name: + - nfs-common + - iptables + - nano + - htop + state: present + update_cache: yes + + - name: Perform APT Dist Upgrade + apt: + upgrade: dist + + - name: Autoremove APT Packages + apt: + autoremove: yes + + - name: Reboot the Device + reboot: \ No newline at end of file