ansible scripts to manage stuffs. This script only work on Ubuntu
- Install ansible & git clone this repo.
- ensure your ansible machine can ssh to the target machine without password. refer: https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/
- Alter hosts.ini to suit your target machine.
- run playbook using the command
ansible-playbook -i hosts.ini playbooks/<your_playbook.yml> -K
. note that the -K is asking password on the target machine (for sudo install and stuffs)