diff tasks.py @ 234:3f7ebff619e3

much faster `inv all` since pyinfra bug was fixed
author drewp@bigasterisk.com
date Sun, 29 Oct 2023 21:27:10 -0700
parents 117cd86ffb53
children 3af02e24eaf9
line wrap: on
line diff
--- a/tasks.py	Sun Oct 29 21:26:44 2023 -0700
+++ b/tasks.py	Sun Oct 29 21:27:10 2023 -0700
@@ -122,10 +122,7 @@
         'mail.py',
         'home.py',
     ]
-    # https://github.com/Fizzadar/pyinfra/issues/787
-    #ctx.run(' '.join([cmd, 'inventory.py'] + configs), pty=True)
-    for c in configs:
-        ctx.run(' '.join([cmd, 'inventory.py', c]), pty=True, echo=True)
+    ctx.run(' '.join([cmd, 'inventory.py'] + configs), pty=True)
     ctx.run('touch /my/proj/infra/ran_all.timestamp')