The repository contains some Ansible roles to deploy on freshly created vm's to play on Homelab.
-
Clone this repository
git clone https://github.com/alperencelik/ansible-provision
-
Edit the inventory file
vim inventory
-
Copy ssh key to VM's
If you have same password for the all vm's
- you can use the ssh-key-copier script to copy the key.
- or you can use --ask-pass argument for ansible.
-
To create all infrastructure roles run the playbook.
ansible-playbook main.yaml