comparison tasks.py @ 14:ac4d24d01b68

add syncthing service
author drewp@bigasterisk.com
date Sat, 13 Nov 2021 12:13:39 -0800
parents 15c5ce7c74b5
children c5784e3d4f8d
comparison
equal deleted inserted replaced
13:d0ca4e569009 14:ac4d24d01b68
44 @task 44 @task
45 def kube(ctx): 45 def kube(ctx):
46 ctx.run(cmd + 'inventory.py kube.py ', pty=True) 46 ctx.run(cmd + 'inventory.py kube.py ', pty=True)
47 47
48 48
49 @task
50 def sync(ctx):
51 ctx.run(cmd + 'inventory.py sync.py ', pty=True)
52
49 53
50 @task 54 @task
51 def get_fact(ctx, host='dash', fact='server.LinuxDistribution'): 55 def get_fact(ctx, host='dash', fact='server.LinuxDistribution'):
52 ctx.run(cmd + f'{host} -vv fact {fact}', pty=True) 56 ctx.run(cmd + f'{host} -vv fact {fact}', pty=True)