Mercurial > code > home > repos > infra
diff tasks.py @ 310:be6b2695542c
pyinfra update and flags change
author | drewp@bigasterisk.com |
---|---|
date | Mon, 16 Sep 2024 20:10:39 -0700 |
parents | 3af02e24eaf9 |
children | 2d20824d8e8b |
line wrap: on
line diff
--- a/tasks.py Mon Sep 16 20:10:00 2024 -0700 +++ b/tasks.py Mon Sep 16 20:10:39 2024 -0700 @@ -9,7 +9,7 @@ def _run(ctx, s): - ctx.run(cmd + 'inventory.py %s' % s, pty=True, echo=True) + ctx.run(cmd + '--nowait inventory.py %s' % s, pty=True, echo=True) @task @@ -112,7 +112,7 @@ 'mail.py', 'home.py', ] - ctx.run(' '.join([cmd, 'inventory.py'] + configs), pty=True) + ctx.run(' '.join([cmd, '-y', 'inventory.py'] + configs), pty=True) ctx.run('touch /my/proj/infra/ran_all.timestamp')