Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mraerino/workspace-config
💻 My personal workspace configured through code
https://github.com/mraerino/workspace-config
ansible cli gitmoji homebrew infrastructure-as-code macos playbook workspace workstation zsh
Last synced: about 2 months ago
JSON representation
💻 My personal workspace configured through code
- Host: GitHub
- URL: https://github.com/mraerino/workspace-config
- Owner: mraerino
- License: mit
- Created: 2017-10-09T14:28:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-20T12:51:34.000Z (about 7 years ago)
- Last Synced: 2024-10-06T04:01:31.188Z (3 months ago)
- Topics: ansible, cli, gitmoji, homebrew, infrastructure-as-code, macos, playbook, workspace, workstation, zsh
- Language: Shell
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mraerino's Workspace Config
This is an Ansible-based repository enabling me to setup my workspace machines from code.
## Usecases
- Keep environments consistent across machines
- Reinstall OS without needing a config backup
- Track workspace config changes## Usage
### Preparations (macOS)
Run this on a blank macOS install to get up and running
```bash
xcode-select --install # Install macOS CLI utils
sudo pip install ansible # Install Ansible
git clone https://github.com/mraerino/workspace-config
cd workspace-config
```### Execute playbook
First, create an [`inventory`](http://docs.ansible.com/ansible/latest/intro_inventory.html) file with your machines.
Then run this:```bash
ansible-galaxy install -r requirements.yml # Install role dependencies
ansible-playbook -i inventory site.yml
```### Inventory
The playbook uses different host groups when applying roles:
- `cli` for setting up unix cli envrionments (tested on macOS and Ubuntu)
- `macos` for configuring macOS-based systems
- `linux` for configuring Linux-based systemsRespectively there is a playbook for each of the groups.
## License
[MIT License](/LICENSE)
Feel free to adapt bits and pieces into your config.