Files
docs/Scripts/Ansible/Playbooks/Linux/Kubernetes/Deploy RKE2 Cluster/1-provision-device.yml

29 lines
610 B
YAML

---
- 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: