You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
archlinux-ansible/README.md

23 lines
615 B

# archlinux-ansible
## Usage
Boot the live iso and set a root password, something simple is fine as it's
changed to key based auth anyway. Find the ip address (e.g. by `ip a`) and
add to `inventory/hosts.yml` under the `arch_live` group.
Enter the `ansible` directory. Before running any playbook, generate a new SSH
key-pair:
```bash
$ ssh-keygen -t ed25519 -f .ssh/id_ed25519 -N ""
```
Now run the `install` playbook:
```bash
$ ansible-playbook install.yml -k
```
When the `install` playbook finishes, wait for the restart. Then find the new
ip address and put in the inventory file under the `arch` group