Add Scripts/Ansible/Playbooks/Linux/Kubernetes/Deploy RKE2 Cluster/1-provision-device.yml
This commit is contained in:
@ -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:
|
Reference in New Issue
Block a user