[PATCH RFT 2/6] gen_hosts: add localhost to generic workflow template
Daniel Gomez <[email protected]>
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <[email protected]> |
From: Daniel Gomez <[email protected]> Add localhost ansible_connection=local to the generic workflow template to match other workflow templates updated in commit 1cf0800c ("gen_hosts: templates: include localhost in the all group"). This ensures all inventory templates include localhost with proper connection settings, allowing simplified ansible-playbook calls without explicit connection flags. Fixes: f4a4e347 ("gen_hosts: Add missing generic workflow template") Generated-by: Claude AI Signed-off-by: Daniel Gomez <[email protected]> --- playbooks/roles/gen_hosts/templates/workflows/generic.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/roles/gen_hosts/templates/workflows/generic.j2 b/playbooks/roles/gen_hosts/templates/workflows/generic.j2 index c18ec9fc..20b2f389 100644 --- a/playbooks/roles/gen_hosts/templates/workflows/generic.j2 +++ b/playbooks/roles/gen_hosts/templates/workflows/generic.j2 @@ -6,6 +6,7 @@ {% set nodes = [kdevops_host_prefix] %} {% endif %} [all] +localhost ansible_connection=local {% for node in nodes %} {{ node }} {% endfor %} -- 2.50.1