Oh My System is an open source framework for configuring your linux based OS. This framework is specifically made for you if you match this points :
- You are a developer
- You use linux
- You use to reinstall your OS sometimes
- Reinstalling everything from scratch is your pain
- Linux
- Ansible (2+) playbook should be installed
- git (to clone this repository)
- sshpass (apt install sshpass) if you want to target a remote host
- clone the repository
- You can remove some tasks you don't want to execute on your computer. The tasks are localized in the playbook.yml file.
- Adapt the files globals.json and customs.json with your own settings
ansible-galaxy install -r ./ansible/requirements.yml
ansible-playbook ./ansible/playbook.yml --extra-vars "@./ansible/globals.json" --extra-vars "@./ansible/customs.json" --extra-vars "hosts" -i ./ansible/hosts
//todo
docker build -t kazaar .
docker run --rm --name kazaar -it -v $PWD/ansible:/ansible -v $PWD/scripts:/scripts kazaar
#container$ ./install-galaxy.sh
#container$ ./run-playbook.sh
//todo