diff tasks.py @ 8:226f3c8419b2

kube setup
author drewp@bigasterisk.com
date Thu, 11 Nov 2021 22:20:46 -0800
parents b6fff51f8676
children 15c5ce7c74b5
line wrap: on
line diff
--- a/tasks.py	Wed Nov 10 09:57:02 2021 -0800
+++ b/tasks.py	Thu Nov 11 22:20:46 2021 -0800
@@ -32,5 +32,10 @@
 
 
 @task
+def kube(ctx):
+    ctx.run(cmd + 'inventory.py kube.py --limit dash --limit garage', pty=True)
+
+
+@task
 def get_fact(ctx, host='dash', fact='server.LinuxDistribution'):
-    ctx.run(cmd + f'{host} fact {fact}', pty=True)
+    ctx.run(cmd + f'{host} -vv fact {fact}', pty=True)