Skip to content

Commit 6a76d03

Browse files
committed
Makefile: remove warnings from ANSIBLE_CFG_FILE target
Remove ANSIBLE_LOCALHOST_WARNING and ANSIBLE_INVENTORY_UNPARSED_WARNING from the ansible.cfg generation target since it uses explicit --inventory localhost, and doesn't need the hosts file to exist yet. 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 22d6c34 commit 6a76d03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ include scripts/gen-nodes.Makefile
228228
false)
229229

230230
$(ANSIBLE_CFG_FILE): .config
231-
$(Q)ANSIBLE_LOCALHOST_WARNING=False ANSIBLE_INVENTORY_UNPARSED_WARNING=False \
232-
ansible-playbook $(ANSIBLE_VERBOSE) --connection=local \
231+
$(Q)ansible-playbook $(ANSIBLE_VERBOSE) --connection=local \
233232
--inventory localhost, \
234233
$(KDEVOPS_PLAYBOOKS_DIR)/ansible_cfg.yml \
235234
--extra-vars=@./.extra_vars_auto.yaml

0 commit comments

Comments
 (0)