# install ansible aur
ansible-galaxy collection install kewlfft.aur
# refresh known_hosts
ssh-keygen -R "192.168.56.2"
ansible-playbook playbook.yml --list-tags
ansible-playbook playbook.yml -l localhost --extra-vars="username=<username>" --ask-become-pass
- vagrant setup
# load module
sudo /sbin/rcvboxdrv
vagrant up --provider virtualbox --provision
- without
ansible-playbook playbook.yml -l testbuild --extra-vars="username=vagrant" --ask-become-pass
- with debugging
ansible-playbook -vvvv playbook.yml -l testbuild --extra-vars="username=vagrant" --ask-become-pass --tags base
ansible-playbook playbook.yml -l testbuild_vm --extra-vars="username=manjaro" --ask-pass --ask-become-pass --tags base
Roles supported:
Roles | Description |
---|---|
base | Utils that exists under any circumstances |
users | Linux users and groups |
development | Development environment and tools |
apps | Any other applications |