1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00
iiab/roles/1-prep
2024-09-22 19:19:35 -04:00
..
defaults 0-init & 1-prep: phase 1 to readable defaults/main.yml 2021-07-30 16:30:10 -04:00
files Update iiab.conf 2019-01-12 16:12:28 -05:00
tasks Introduce roles/tailscale w/ /usr/bin/iiab-vpn etc 2024-09-15 03:51:07 -04:00
templates 1-prep/templates/iiab-expand-rootfs: Clarify partition shrinking/expanding 2023-12-19 13:22:22 -05:00
README.adoc Doc fixes for Tailscale PRs #3798 & #3800 2024-09-22 19:19:35 -04:00
README.rst.deprecated Test 'pandoc README.rst -o README.adoc' in 1-prep & 2-common 2021-11-30 12:08:45 -05:00

=============
1-prep README
=============

This 1st `stage <https://github.com/iiab/iiab/wiki/IIAB-Contributors-Guide#ansible>`_ (1-prep) arranges low-level things like remote support infra, DNS prep, hardware, low-level OS quirks, and basic security:

- SSHD
- OpenVPN if/as needed later for remote support
- `iiab-admin <https://github.com/iiab/iiab/tree/master/roles/iiab-admin#iiab-admin-readme>`_ username and group, to log into Admin Console
- dnsmasq (install now, configure later!)
- Universally unique identifier: /etc/iiab/uuid
- Ubermix (distro) needs /etc/tmpfiles.d/iiab.conf to create essential /var/log subdirs on each boot
- Hardware actions:
   - `raspberry_pi.yml <tasks/raspberry_pi.yml>`_:
      - RTC (real-time clock): install udev rule, configure, enable
      - Install packages related to:
         - growpart
         - swapfile
         - fake-hwclock (as RTC is often missing or dead!)
         - Wi-Fi
      - Increase swap file size
      - `rootfs auto-resizing <https://github.com/iiab/iiab/blob/master/roles/1-prep/templates/iiab-rpi-max-rootfs.sh>`_
   - NUC 6 Wi-Fi firmware

Recap: Similar to 0-init, 2-common, 3-base-server, 4 server-options and 5-xo-services — this 1st stage installs core server infra (that is not user-facing).