An ansible playbook to help install Arch Linux.
- Pull this repo
- Create
inventory/hosts-File with the HOST-IP
[arch]
vm ansible_host=[IP]
- Edit values in
inventory/group_vars/arch.yml - Create host vars:
ansible-vault create inventory/host_vars/vm.ymlwith
luks_pass: ""
user_pass: ""
After booting from the Arch installation media, you will need to set the root password to root using the passwd command.
Then connect to wlan:
iwctldevice liststation wlan0 scanstation wlan0 get-networksstation wlan0 connect <SSID>
Now you are able to login remotely as root, so you can populate hosts.yml and run playbook.yml:
ansible-playbook playbook.yml --ask-vault-password -t bootstrapAfter boot into installed system, connect to wifi:
nmcli dev statusnmcli dev wifi listsudo nmcli dev wifi connect <SSID> --ask
and run:
ansible-playbook playbook.yml --ask-vault-password -t mainsetup