This repository contains an Ansible playbook for configuring an Ubuntu PC. It uses Serverspec and CircleCI to assert the playbook can correctly configure the machine. insync is used to synchronize home directories across machines.
Ubuntu 20.04 Focal Fossa
To get started, download and install insync. This will require you to log into Google to access Drive. Copy the contents of this file into the insync ignore configuration.
Once insync has synchronized the home directory, install Ansible.
sudo apt-get install ansible
Inside the devmachine
directory run the playbook.
ansible-playbook setup.yml --ask-become-pass
To setup Github ssh access, export an access token and run the gitubub.sh
script.
export TOKEN=mygithubaccesstoken
./github.sh
This will create an ssh key and make an API call to add it to Github.