Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fao89/groot

The coolest guardian of the galaxy!
https://github.com/fao89/groot

ansible collections galaxy groot hacktoberfest roles

Last synced: 20 days ago
JSON representation

The coolest guardian of the galaxy!

Awesome Lists containing this project

README

        

![Continuous Integration](https://github.com/fao89/groot/workflows/Continuous%20Integration/badge.svg)
![license](https://img.shields.io/crates/l/groot)
![Latest version](https://img.shields.io/crates/v/groot.svg)
![Downloads](https://img.shields.io/crates/d/groot)
# I am Groot!
![groot](https://www.redringtones.com/wp-content/uploads/2019/04/i-am-groot-ringtone.jpg)

## Required variables
Please have a `.env` file with the following variables:
- `SERVER.HOST`: The host address e.g. `127.0.0.1`
- `SERVER.PORT`: The host port e.g. `3030`
- `DATABASE_URL`: The postgres DB URL e.g. `postgres://groot:groot@localhost:5432/groot`
- `REDIS_URL`: The redis URL e.g. `redis://redis:6379`

## Downloading
```console
$ curl -L https://github.com/fao89/groot/releases/download/0.6.1/groot-linux-amd64 -o groot
$ chmod +x groot
```
## Sync roles or collections

Mirror:
```console
$ curl -X POST http://127.0.0.1:3030/sync/
```

From requirements.yml
```console
$ curl -X POST -F '[email protected]' http://127.0.0.1:3030/sync/
```

## Upload collections

```console
$ ansible-galaxy collection publish -c -s http://127.0.0.1:3030/
```

## Serving content
```console
$ curl -L https://github.com/fao89/groot/releases/download/0.6.1/groot-linux-amd64 -o groot
$ chmod +x groot
$ ./groot
```
Install role/collection from groot:
```console
$ ansible-galaxy install . -c -s http://127.0.0.1:3030/
```