Mercurial > code > home > repos > infra
diff tasks.py @ 320:11d3bcedb9f0
updates for tofu rebuild; some dead code; start moving tasks into subdirs with their files and templates
author | drewp@bigasterisk.com |
---|---|
date | Fri, 08 Nov 2024 23:16:56 -0800 |
parents | 2d20824d8e8b |
children | 4d1b6a6e65d2 |
line wrap: on
line diff
--- a/tasks.py Wed Oct 16 20:47:19 2024 -0700 +++ b/tasks.py Fri Nov 08 23:16:56 2024 -0800 @@ -9,7 +9,7 @@ def _run(ctx, s): - ctx.run(cmd + '--no-wait inventory.py %s' % s, pty=True, echo=True) + ctx.run(cmd + '--no-wait -y inventory.py %s' % s, pty=True, echo=True) @task @@ -29,7 +29,7 @@ @task def apt(ctx): - _run(ctx, 'apt.py') + _run(ctx, 'apt/apt.py') @task @@ -102,7 +102,7 @@ 'users.py', 'ssh.py', 'system.py', - 'apt.py', + 'apt/apt.py', 'packages.py', 'net.py', 'dns.py',