diff --git a/tasks.py b/tasks.py index 11a3086..073f925 100644 --- a/tasks.py +++ b/tasks.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 import json +import os import subprocess import sys from typing import Any, List @@ -95,6 +96,15 @@ def _format_disks(host: DeployHost, devices: List[str]) -> None: host.run("mount -t ext4 /dev/md127 /mnt/boot") +@task +def update_hound_repos(c): + """ + Update list of repos for hound search + """ + os.chdir("services/hound") + c.run("./update-hound.py > hound.json") + + @task def update_sops_files(c): """