comparison tasks.py @ 110:de407da9224a

homedir links
author drewp@bigasterisk.com
date Sat, 20 Aug 2022 14:13:02 -0700
parents 8b8ef9d8f0fd
children 340d778a1682
comparison
equal deleted inserted replaced
109:4e9e3446b078 110:de407da9224a
72 def mail(ctx): 72 def mail(ctx):
73 ctx.run(cmd + 'inventory.py mail.py ', pty=True) 73 ctx.run(cmd + 'inventory.py mail.py ', pty=True)
74 74
75 75
76 @task 76 @task
77 def home(ctx):
78 ctx.run(cmd + 'inventory.py home.py', pty=True)
79
80
81 @task
77 def pipe(ctx): 82 def pipe(ctx):
78 ctx.run(cmd + 'inventory.py pipe.py --limit pipe', pty=True) 83 ctx.run(cmd + 'inventory.py pipe.py --limit pipe', pty=True)
79 84
80 85
81 @task 86 @task
89 'dns.py', 94 'dns.py',
90 'wireguard.py', 95 'wireguard.py',
91 'kube.py', 96 'kube.py',
92 'sync.py', 97 'sync.py',
93 'mail.py', 98 'mail.py',
99 'home.py',
94 ] 100 ]
95 # https://github.com/Fizzadar/pyinfra/issues/787 101 # https://github.com/Fizzadar/pyinfra/issues/787
96 #ctx.run(' '.join([cmd, 'inventory.py'] + configs), pty=True) 102 #ctx.run(' '.join([cmd, 'inventory.py'] + configs), pty=True)
97 for c in configs: 103 for c in configs:
98 ctx.run(' '.join([cmd, 'inventory.py', c]), pty=True, warn=True) 104 ctx.run(' '.join([cmd, 'inventory.py', c]), pty=True, warn=True)