29 lines
610 B
YAML
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: |