comparison tasks.py @ 8:226f3c8419b2

kube setup
author drewp@bigasterisk.com
date Thu, 11 Nov 2021 22:20:46 -0800
parents b6fff51f8676
children 15c5ce7c74b5
comparison
equal deleted inserted replaced
7:b6fff51f8676 8:226f3c8419b2
30 def wireguard(ctx): 30 def wireguard(ctx):
31 ctx.run(cmd + 'inventory.py wireguard.py', pty=True) 31 ctx.run(cmd + 'inventory.py wireguard.py', pty=True)
32 32
33 33
34 @task 34 @task
35 def kube(ctx):
36 ctx.run(cmd + 'inventory.py kube.py --limit dash --limit garage', pty=True)
37
38
39 @task
35 def get_fact(ctx, host='dash', fact='server.LinuxDistribution'): 40 def get_fact(ctx, host='dash', fact='server.LinuxDistribution'):
36 ctx.run(cmd + f'{host} fact {fact}', pty=True) 41 ctx.run(cmd + f'{host} -vv fact {fact}', pty=True)