Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tanishqmanuja/devenv

💻 My Development ENV
https://github.com/tanishqmanuja/devenv

ansible devops dotfiles

Last synced: 1 day ago
JSON representation

💻 My Development ENV

Awesome Lists containing this project

README

        

![Logo](https://raw.github.com/tanishqmanuja/static/main/banners/devenv.png?maxAge=2592000)

This Ansible playbook is used to setup my WSL2 based Ubuntu workspace.

## Bootstrap

Oneliner to bootstrap the development environment

```sh
curl -fsSL "https://raw.githubusercontent.com/tanishqmanuja/devenv/main/bootstrap" | sh
```

Using specific tags like nvim for example

```sh
curl -fsSL "https://raw.githubusercontent.com/tanishqmanuja/devenv/main/bootstrap" | sh -s -- nvim
```

## Other Commands

#### Run Playbook

```sh
ansible-playbook -t core,dotfiles --ask-become-pass --vault-password-file ~/vault.key local.yaml
```

#### Encrypt files in .ssh directory

```sh
find .ssh -type f | xargs ansible-vault encrypt --vault-password-file ~/vault.key
```

#### Decrypt files in .ssh directory
```sh
find .ssh -type f | xargs ansible-vault decrypt --vault-password-file ~/vault.key
```