A personal ansible playbook to set up my local machine for ubuntu or any distro based on it
- ansible (can be installed via
install_ansible.sh
) - passwordless sudo, one way is to do
sudo visudo
and then addusername ALL=(ALL) NOPASSWD: ALL
at the end of the file
ansible-playbook local.yml --ask-vault-pass
to apply changes locallyansible-pull -U https://github.com/tanqhnguyen/local-ubuntu-setup.git --ask-vault-pass
to pull from git and apply changes at the same timeansible-vault encrypt_string --ask-vault-pass <string>
to create a new encrypted string to use in the playbook