#galaxy #ansible #role #collection

app groot

The coolest guardian of the galaxy!

11 unstable releases (5 breaking)

0.6.1 Oct 16, 2023
0.5.3 Sep 14, 2023
0.4.0 Apr 3, 2022
0.3.0 Apr 17, 2021
0.2.1 Mar 4, 2021

#184 in Database interfaces

Download history 1/week @ 2023-11-03 13/week @ 2023-11-10 7/week @ 2023-11-17 30/week @ 2023-11-24 40/week @ 2023-12-01 12/week @ 2023-12-15 24/week @ 2023-12-22 11/week @ 2023-12-29 12/week @ 2024-01-19 12/week @ 2024-01-26 24/week @ 2024-02-02 26/week @ 2024-02-09 169/week @ 2024-02-16

231 downloads per month

GPL-2.0+

65KB
1.5K SLoC

Continuous Integration license Latest version Downloads

I am Groot!

groot

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

$ 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:

$ 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/

Upload collections

$ ansible-galaxy collection publish -c -s http://127.0.0.1:3030/ <COLLECTION_TARBALL_PATH>

Serving content

$ 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/

Dependencies

~40–57MB
~881K SLoC