Mercurial > code > home > repos > infra
diff tasks.py @ 14:ac4d24d01b68
add syncthing service
author | drewp@bigasterisk.com |
---|---|
date | Sat, 13 Nov 2021 12:13:39 -0800 |
parents | 15c5ce7c74b5 |
children | c5784e3d4f8d |
line wrap: on
line diff
--- a/tasks.py Sat Nov 13 12:13:10 2021 -0800 +++ b/tasks.py Sat Nov 13 12:13:39 2021 -0800 @@ -46,6 +46,10 @@ ctx.run(cmd + 'inventory.py kube.py ', pty=True) +@task +def sync(ctx): + ctx.run(cmd + 'inventory.py sync.py ', pty=True) + @task def get_fact(ctx, host='dash', fact='server.LinuxDistribution'):