fix: added missing command context pass into function

This commit is contained in:
2026-01-03 15:58:08 -05:00
parent b3d70659ec
commit 0230cb4074

View File

@@ -103,7 +103,7 @@ def mod_vps(ctx, entity: str, password: str | None = None, api: str | None = Non
@cli.option("-g", "--group", type=str, default="ungrouped", help="Provide group name given host(s) fall under")
@cli.pass_context
# @TODO rewrite below command function, using 'ctx' parameter for values shared with sibling commands
def mod_host(group, hostname):
def mod_host(ctx, group, hostname):
with Config(entity, AnsibleScope.INVENTORY.name) as config:
raise NotImplementedError