Crates.io | groot |
lib.rs | groot |
version | 0.6.1 |
source | src |
created_at | 2021-02-12 15:10:25.01193 |
updated_at | 2023-10-16 10:19:30.394749 |
description | The coolest guardian of the galaxy! |
homepage | |
repository | https://github.com/fao89/groot |
max_upload_size | |
id | 354217 |
size | 138,894 |
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
$ curl -L https://github.com/fao89/groot/releases/download/0.6.1/groot-linux-amd64 -o groot
$ chmod +x groot
Mirror:
$ curl -X POST http://127.0.0.1:3030/sync/<roles | collections>
From requirements.yml
$ curl -X POST -F 'requirements=@requirements.yml' http://127.0.0.1:3030/sync/
$ ansible-galaxy collection publish -c -s http://127.0.0.1:3030/ <COLLECTION_TARBALL_PATH>
$ 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:
$ ansible-galaxy <role | collection> install <namespace>.<name> -c -s http://127.0.0.1:3030/