From 25bfa523f2afe6dd012045c3dfb4a4e9cfef4043 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Thu, 31 Aug 2023 11:54:36 +0200 Subject: [PATCH] fix: switch to hosts instead of inventory Signed-off-by: Matej Focko --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 39bb81d..e75e4e9 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,10 @@ .PHONY: deps bootstrap fedora-deps fedora-release-upgrade fedora-switch-repository gpg keys -CONNECTION ?= local -INVENTORY ?= localhost +HOSTS ?= localhost TAGS ?= all ANSIBLE_PYTHON := /usr/bin/python3 -AP := ansible-playbook -vv -K -c $(CONNECTION) -i $(INVENTORY), -e ansible_python_interpreter=$(ANSIBLE_PYTHON) --tags $(TAGS) $(AP_ARGS) +AP := ansible-playbook -vv -K -l $(HOSTS) -e ansible_python_interpreter=$(ANSIBLE_PYTHON) --tags $(TAGS) $(AP_ARGS) deps: ansible-galaxy collection install community.general