fork of https://github.com/zjael/raspberry_pi
Supports:
- Update and Upgrade each node.
- Change node user password.
- Change hostnames specified by prefix and index from inventory file.
- Change GPU memory split.
- Change SSH Port
- Install specified packages.
- Disable HDMI to preserve power.
- Disable IPv6 of specified interfaces.
- Disallow SSH root login and empty passwords.
- Disallow SSH password authentication, if SSH key is provided.
- Allows SSH password authentication, within ip range, if specified.
By default:
- Updates and upgrades each node.
- Disallows SSH root login and empty passwords.
- Sets gpu_mem to 16mb.
- Disables HDMI.
- Disables IPv6 on wlan0 and eth0
---
## All uncommented lines are default settings
## Create new users
# accounts:
# - name: chazragg
# password: '$1$Mxb8A8pk$Kj2j7KGoBxvux/JvB5OS41'
# sshkey: ~/.ssh/id_rsa.pub
# - name: test
# password: '$1$Mxb8A8pk$Kj2j7KGoBxvux/JvB5OS41'
## Ex. 'node' will result in, node0, node1, node2...
# hostname_prefix: 'node'
## additional packages to install
# packages:
# - git
# - tmux
## Changes SSH port
# ssh_port: 22
## Copies public key from host to pi user
# ssh_public_key: ~/.ssh/id_rsa.pub
## Allow ssh access with password from specified ip range
# ssh_allow_password_ip_range: '192.168.*.*'
## GPU memory split in megabytes
gpu_mem: '16' # 16, 64, 128 or 256
## Disable HDMI to preserve power
disable_hdmi: true
## Disable IPv6 on specified interfaces
disable_ipv6_interfaces:
- wlan0
- eth0
## Create NFS mounts
# nfs_mount:
# - src: 192.168.1.100:/nfs/ssd/shared_data
# path: /mnt/foo
# opts: rw,sync,hard,intr
# boot: yes