This repo is deprecated as my configuration repo. And I have migrated to a simple shell script approach. GitHub - wickes1/Dotfiles
My initial thought is to utilize Ansible for my any devices, any new OS installation, and any new VMs so that I can have a consistent environment. But I found that it's too much overhead for my personal use. You won't have a lot of new devices to manage. What's more, the configuration was kept deprecating, that adding more overhead to maintain the configuration.
However, I mostly used Ansible as my dotfiles manager. So what's important is not the app installation, but the dotfiles. (For personal usage) So I migrate to a simple shell script approach. GitHub - wickes1/Dotfiles
# 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 |