Skip to content

Commit 9af1bff

Browse files
committed
Makefile: simplify KDEVOPS_NODES ansible-playbook call
Remove connection flags and warning suppressions from the KDEVOPS_NODES target since all inventory templates now include localhost with proper ansible_connection=local settings. This allows the playbook to use the generated ansible.cfg and hosts files automatically without explicit overrides. Generated-by: Claude AI Reviewed-by: Chuck Lever <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Gomez <[email protected]>
1 parent 6a76d03 commit 9af1bff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,7 @@ $(ANSIBLE_INVENTORY_FILE): .config $(ANSIBLE_CFG_FILE) $(KDEVOPS_HOSTS_TEMPLATE)
264264
--extra-vars=@./extra_vars.yaml
265265

266266
$(KDEVOPS_NODES): .config $(ANSIBLE_CFG_FILE) $(KDEVOPS_NODES_TEMPLATE) $(KDEVOPS_EXTRA_VARS)
267-
$(Q)ANSIBLE_LOCALHOST_WARNING=False ANSIBLE_INVENTORY_UNPARSED_WARNING=False \
268-
ansible-playbook $(ANSIBLE_VERBOSE) --connection=local \
269-
--inventory localhost, \
267+
$(Q)ansible-playbook $(ANSIBLE_VERBOSE) \
270268
$(KDEVOPS_PLAYBOOKS_DIR)/gen_nodes.yml \
271269
--extra-vars=@./extra_vars.yaml
272270

0 commit comments

Comments
 (0)