Cluster
The role performs various tasks related to OS configuration, reset and validation.
Role Settings
See the related role settings listed below, defined into main.yaml
defaults file.
cluster_vars.device
- Default value:
null
See the related child settings, listed below.
device.enabled
- Default value:
boolean
,true
device.id
- Default value:
string
,2:2
device.name
- Default value:
string
,ASMedia Technology
cluster_vars.hardware
- Default value:
null
See the related child settings, listed below.
hardware.architecture
- Default value:
string
,aarch64
Hardware architecture used to identify the cluster node hardware architecture. To determine the hardware architecture, run:
arch
Command output:
aarch64
hardware.product
- Default value:
string
,Raspberry Pi
Hardware product, used to identify the cluster node hardware model. To determine the hardware product, run:
lshw -class system -quiet | grep product
Command output:
product: Raspberry Pi 4 Model B Rev 1.5
cluster_vars.service
- Default value:
null
See the related child settings, listed below.
service.bluetooth
- Default value:
null
Setup Bluetooth service, on Raspberry Pi hardware. By default, Ubuntu Server LTS 24.04
does not installs the related apt
packages.
service.cloud_init
- Default value:
null
Setup Cloud Init service.
service.postfix
- Default value:
null
Setup Postfix service, with iCloud mail servers.
postfix.enabled
- Default value:
boolean
,true
postfix.protocols
- Default value:
string
,ipv4
postfix.relay
- Default value:
null
postfix.user
- Default value:
null
user.alias
- Default value:
string
,[email protected]
Mail sent by root
user will use this email address.
user.name
- Default value:
string
,[email protected]
Used for login into iCloud servers.
user.password
- Default value:
string
,password
Encrypt the variable with ansible-vault
.
service.snapd
- Default value:
null
Setup Snapd service.
service.unattended_upgrades
- Default value:
null
Setup Unattended Upgrades service.
unattended_upgrades.enabled
- Default value:
boolean
,true
unattended_upgrades.mail_report
- Default value:
string
,only-on-error
, optionalalways
oron-change
unattended_upgrades.remove_deps
- Default value:
string
,true
service.wifi
- Default value:
null
Setup WiFi service, on Raspberry Pi hardware. By default, Ubuntu Server LTS 24.04
does not installs the related apt
packages.
cluster_vars.ssh
- Default value:
null
See the related child settings, listed below.
Role Tasks
See the related role tasks, listed below.
Configuration
OS configuration related tasks, see configuration.yaml
for details.
Facts
Ansible facts, see facts.yaml
for details.
Firewall
Firewall related tasks, can be used to also configure specific firewall rules. See firewall.yaml
for details.
Main
Main role related tasks, see main.yaml
for details.
Reset
Reset related tasks, see reset.yaml
for details.
Upgrade
OS upgrade related tasks, see upgrade.yaml
for details.
User
User related tasks, see user.yaml
for details.
Validation
Validation related tasks, see validation.yaml
for details.