Add pre-provisioning bootstrap checklist
This commit is contained in:
parent
4563957e80
commit
cf0380aee4
17
README.md
17
README.md
@ -5,3 +5,20 @@ Ansible configs for the Skylab Homelab
|
|||||||
Main entrypoint is through the `ansible` script in this repository. The script sets up
|
Main entrypoint is through the `ansible` script in this repository. The script sets up
|
||||||
basic environment variables to avoid conflicts with other environments and sets the
|
basic environment variables to avoid conflicts with other environments and sets the
|
||||||
inventory.
|
inventory.
|
||||||
|
|
||||||
|
Bootstrap checklist:
|
||||||
|
|
||||||
|
1. Install a supported operating system: [Rocky Linux](https://rockylinux.org)
|
||||||
|
2. During installation create a user named `ansible` with any password
|
||||||
|
3. After installation copy SSH key to the `ansible` user
|
||||||
|
4. Enable password-less sudo access for the `ansible` user with this command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo tee /etc/sudoers.d/30-ansible <<<"ansible ALL=(ALL) NOPASSWD:ALL"
|
||||||
|
```
|
||||||
|
|
||||||
|
5. Change the UID of the `ansible` user to `1400` with this command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo usermod -u 1400 ansible
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user