refactor: group services in top-level directory

This commit is contained in:
Marc 2022-12-04 13:40:59 -05:00
parent 4230fabf20
commit d2f97a867d
Signed by: marc
GPG key ID: 048E042F22B5DC79
18 changed files with 11 additions and 10 deletions

View file

@ -4,9 +4,9 @@
|Service|Description|
|---|---|
|[Plex](./plex)|Plex media server|
|[Deluge](./deluge)|Deluge Web service|
|[Traefik](./traefik)|Traefik API Gateway|
|[Plex](./services/plex)|Plex media server|
|[Deluge](./services/deluge)|Deluge Web service|
|[Traefik](./services/traefik)|Traefik API Gateway|
## Getting started

View file

@ -1,8 +1,8 @@
import invoke
import plex.tasks
import deluge.tasks
import traefik.tasks
import services.plex.tasks
import services.deluge.tasks
import services.traefik.tasks
ns = invoke.Collection()
@ -24,8 +24,9 @@ server = invoke.Collection("server")
server.add_task(system_updates, name="update")
server.add_task(system_reboot, name="reboot")
ns.add_collection(plex.tasks.ns)
ns.add_collection(traefik.tasks.ns)
ns.add_collection(deluge.tasks.ns)
ns.add_collection(server)
ns.add_collection(services.plex.tasks.ns)
ns.add_collection(services.traefik.tasks.ns)
ns.add_collection(services.deluge.tasks.ns)