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

https://github.com/bbkane/riced

Build a good lookin' and functional dev Linux box with Ansible
https://github.com/bbkane/riced

Last synced: 4 months ago
JSON representation

Build a good lookin' and functional dev Linux box with Ansible

Awesome Lists containing this project

README

          

# Riced

I want a fancy riced Linux desktop

## Install

### Vagrant (via Homebrew)

```
brew cask install vagrant
```

### Virtualbox (via Homebrew)

Vagrant [doesn't like Virtualbox 6.1](https://github.com/hashicorp/vagrant/issues/11249), so install the last 6.0 version

```
brew cask install https://raw.githubusercontent.com/Homebrew/homebrew-cask/7e703e0466a463fe26ab4e253e28baa9c20d5f36/Casks/virtualbox.rb
```

### Ansible (via Python3 virtualenv)

Don't install Ansible for the whole system. Instead use a virtual environment
so different projects can use different version of Ansible

```
python3 -m venv env
source env/bin/activate
python -m pip install -r requirements.txt # ansible the is the only direct dep
```

## Run

All commands should be run from the repo root

- Activate virtualenv

```
source env/bin/activate
```

- Turn on VMs - see `vagrant --help` for other useful commands

```
vagrant up
```

- Create ssh config for Ansible to use

```
vagrant ssh-config > ssh_config
```

- Ping your new VMs with Ansible:

```
ansible all -m ping
```

- Run the test playbook:

```
ansible-playbook main.yml
```