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.
 
 
Rasmus Rosengren a3885fe5ce
Add script, live iso check, and fix some bugs
3 years ago
group_vars/all Add cleanup role 3 years ago
library/modules/mkinitcpio Moved everything too root 3 years ago
roles Add script, live iso check, and fix some bugs 3 years ago
.ansible-lint Add CI 3 years ago
.drone.yml Sign drone config 3 years ago
.gitignore Add script, live iso check, and fix some bugs 3 years ago
.yamllint Moved everything too root 3 years ago
README.md Moved everything too root 3 years ago
ansible.cfg Moved everything too root 3 years ago
ansible.sh Add script, live iso check, and fix some bugs 3 years ago
main.yml Add script, live iso check, and fix some bugs 3 years ago
requirements.yml Set static ip address during installation 3 years ago

README.md

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 all group.

Before running any playbook, generate a new SSH key-pair:

$ ssh-keygen -t ed25519 -f .ssh/id_ed25519 -N ""

Now run the install playbook:

$ 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 all group. Then run:

$ ansible-playbook configure.yml