This repo regroups all my ubuntu configuration used for my personnal workspace. This is based on Ansible and can be deployed locally through the main.yaml
playbook.
- Install pip:
sudo apt install python3-pip
- Install Ansible:
python3 -m pip install --user ansible
- Create a SSH agent with GitHub
Several tasks are sequentially proceeded to install my main components. Only 1 role is proposed (user
) but this could be changed to several user for all applications. Everything stands on generic components and no additional informations are required but for terminal settings. In this specific list of task, configuration files are downloaded from private personnal repo.
- APT update, upgrade
- filesystem modification (add specific personnal paths)
- Git (local parameters)
- Terminal settings (ZSH, OhMyZSH, Terminator and CLI)
- Julia LTS and ODBC related drivers
- Docker
First, git clone this repo on your local machine:
git clone [email protected]:Quche/workspace.git
In the local dir, change variable names in /vars/main.yml
: USERNAME stands for the name of the ubuntu user.
Go to the local clone and launch ansible:
ansible-playbook main.yaml -K
A BECOME password
is then asked, refer your Ubuntu user password.
- Compare this code with other approaches such as this complete example.
- Separate all the specific operations into roles.
- Export DIR variables globally to use the subpart playbook running (
-t
parameter). - mysql, psql
- gcloud