Migration: fix inventory hardcode in tasks.py
Linting / YAML Lint (push) Has been cancelled
Linting / Ansible Lint (push) Has been cancelled

This commit is contained in:
2026-05-22 20:21:36 +03:00
parent 8378f0edb0
commit fe024b3b12
+1 -1
View File
@@ -60,7 +60,7 @@ def pl(ctx: Context) -> None:
raise Exit("Укажи хотя бы один плейбук: inv pl -- <name> [name ...]", code=1) raise Exit("Укажи хотя бы один плейбук: inv pl -- <name> [name ...]", code=1)
playbooks = [_resolve_playbook(name) for name in names] playbooks = [_resolve_playbook(name) for name in names]
ctx.run( ctx.run(
f"uv run ansible-playbook -i production.yml --diff {' '.join(playbooks)}", f"uv run ansible-playbook -i {HOSTS_FILE} --diff {' '.join(playbooks)}",
pty=True, pty=True,
) )