comparison tasks.py @ 103:8b8ef9d8f0fd

dead code and templates, reformat, maybe a little refactor
author drewp@bigasterisk.com
date Fri, 15 Jul 2022 15:24:44 -0700
parents b70070570e10
children de407da9224a
comparison
equal deleted inserted replaced
102:9ec487a381e2 103:8b8ef9d8f0fd
40 40
41 @task 41 @task
42 def dns_check(ctx): 42 def dns_check(ctx):
43 ctx.run(cmd + 'inventory.py dns_check.py -v', pty=True) 43 ctx.run(cmd + 'inventory.py dns_check.py -v', pty=True)
44 44
45
45 @task 46 @task
46 def dns_k8s_check(ctx): 47 def dns_k8s_check(ctx):
47 ctx.run('env/bin/python dns_k8s_check.py', pty=True) 48 ctx.run('env/bin/python dns_k8s_check.py', pty=True)
48 49
49 50
54 55
55 @task 56 @task
56 def kube(ctx): 57 def kube(ctx):
57 ctx.run(cmd + 'inventory.py kube.py ', pty=True) 58 ctx.run(cmd + 'inventory.py kube.py ', pty=True)
58 59
60
59 @task 61 @task
60 def kube_bang(ctx): 62 def kube_bang(ctx):
61 ctx.run(cmd + 'inventory.py kube.py --limit bang', pty=True) 63 ctx.run(cmd + 'inventory.py kube.py --limit bang', pty=True)
62 64
63 65
67 69
68 70
69 @task 71 @task
70 def mail(ctx): 72 def mail(ctx):
71 ctx.run(cmd + 'inventory.py mail.py ', pty=True) 73 ctx.run(cmd + 'inventory.py mail.py ', pty=True)
74
72 75
73 @task 76 @task
74 def pipe(ctx): 77 def pipe(ctx):
75 ctx.run(cmd + 'inventory.py pipe.py --limit pipe', pty=True) 78 ctx.run(cmd + 'inventory.py pipe.py --limit pipe', pty=True)
76 79