Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martinothamar/setup
Ansible playbooks for setting up my computer (for development)
https://github.com/martinothamar/setup
ansible ansible-playbook automation developer-tools
Last synced: about 1 month ago
JSON representation
Ansible playbooks for setting up my computer (for development)
- Host: GitHub
- URL: https://github.com/martinothamar/setup
- Owner: martinothamar
- License: mit
- Created: 2023-08-08T20:41:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-23T08:12:38.000Z (6 months ago)
- Last Synced: 2024-06-23T09:27:48.627Z (6 months ago)
- Topics: ansible, ansible-playbook, automation, developer-tools
- Language: Shell
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setup
Setup of my developer machine, developed against
```bash
$ lsb_release -a
No LSB modules are available.
Distributor ID: Pop
Description: Pop!_OS 22.04 LTS
Release: 22.04
Codename: jammy$ uname -a
Linux laptop 6.2.6-76060206-generic #202303130630~1689015125~22.04~ab2190e SMP PREEMPT_DYNAMIC Mon J x86_64 x86_64 x86_64 GNU/Linux
```Probably only works for Ubuntu/Pop OS >= 22.04
## Run
```bash
# Init
./bootstrap.sh# Don't have to setup everything like below,
# but should probably have ansible-lint from pip playbook under pkgs# Setup everything
ansible-playbook setup.yml -K # K for sudo prompt# ---------------------------------
# Setup only aliases
ansible-playbook playbooks/alias.yml
```### Nix
https://github.com/DeterminateSystems/nix-installer
### LLVM
https://apt.llvm.org/
```bash
# sudo ./llvm.sh all
sudo ./llvm.sh 17 all
clang++-17 --version
```### WSL
Use Ubuntu
Updated Ansible
```sh
sudo apt-add-repository ppa:ansible/ansible
```Make sure systemd is enabled
```toml
[boot]
systemd=true
```Then
```
ansible-playbook playbooks/pkgs/pip.yml -K
ansible-playbook playbooks/pkgs/apt.yml -K # Comment out what's not necessary
ansible-playbook playbooks/docker.yml -K
ansible-playbook playbooks/brew-install.yml -K # May need to run as sudo/root first
```