comparison tasks.py @ 325:4d1b6a6e65d2

minor project edits
author drewp@bigasterisk.com
date Mon, 20 Jan 2025 14:10:19 -0800
parents 11d3bcedb9f0
children 5b88b38f2471
comparison
equal deleted inserted replaced
324:99c81fa0f2fc 325:4d1b6a6e65d2
7 cd /my/proj/infra 7 cd /my/proj/infra
8 pdm run pyinfra ''' 8 pdm run pyinfra '''
9 9
10 10
11 def _run(ctx, s): 11 def _run(ctx, s):
12 ctx.run(cmd + '--no-wait -y inventory.py %s' % s, pty=True, echo=True) 12 ctx.run(cmd + ('--no-wait' * 0) + ' -y inventory.py %s' % s, pty=True, echo=True)
13 13
14 14
15 @task 15 @task
16 def users(ctx): 16 def users(ctx):
17 _run(ctx, 'users.py') 17 _run(ctx, 'users.py')