refactor: group services in top-level directory
This commit is contained in:
parent
4230fabf20
commit
d2f97a867d
18 changed files with 11 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
0
plex/.gitignore → services/plex/.gitignore
vendored
0
plex/.gitignore → services/plex/.gitignore
vendored
15
tasks.py
15
tasks.py
|
@ -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)
|
||||
|
||||
|
|
Reference in a new issue