comparison tasks.py @ 288:3af02e24eaf9

minor
author drewp@bigasterisk.com
date Sun, 21 Apr 2024 17:01:13 -0700
parents 3f7ebff619e3
children be6b2695542c
comparison
equal deleted inserted replaced
287:c094d23b7943 288:3af02e24eaf9
52 _run(ctx, 'dns_check.py -v') 52 _run(ctx, 'dns_check.py -v')
53 53
54 54
55 @task 55 @task
56 def dns_k8s_check(ctx): 56 def dns_k8s_check(ctx):
57 ctx.run('env/bin/python dns_k8s_check.py', pty=True) 57 ctx.run('pdm run python dns_k8s_check.py', pty=True)
58 58
59 59
60 @task 60 @task
61 def wireguard(ctx): 61 def wireguard(ctx):
62 _run(ctx, 'wireguard.py') 62 _run(ctx, 'wireguard.py')
63 63
64 64
65 @task 65 @task
66 def kube(ctx): 66 def kube(ctx):
67 _run(ctx, 'kube.py') 67 _run(ctx, 'kube.py')
68
69
70 @task
71 def kube_bang(ctx):
72 _run(ctx, 'kube.py --limit bang')
73 68
74 69
75 @task 70 @task
76 def sync(ctx): 71 def sync(ctx):
77 _run(ctx, 'sync.py') 72 _run(ctx, 'sync.py')
83 78
84 79
85 @task 80 @task
86 def home(ctx): 81 def home(ctx):
87 _run(ctx, 'home.py') 82 _run(ctx, 'home.py')
88
89
90 @task
91 def pipe(ctx):
92 ctx.run(cmd + 'inventory.py pipe.py --limit pipe', pty=True)
93 83
94 84
95 @task 85 @task
96 def multikube(ctx): # danger- wipes previous k3s 86 def multikube(ctx): # danger- wipes previous k3s
97 from multikube_config import server_node, nodes 87 from multikube_config import server_node, nodes