From 0d50c821c4536b76249810d297c927ac28777484 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Sat, 15 Jan 2022 12:15:02 +0100 Subject: [PATCH] chore(makefile): update PHONY and parametrize connection/inventory Signed-off-by: Matej Focko --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bc414f8..79e0bed 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,10 @@ -.PHONY: fedora-deps deps fedora-bootstrap gpg keys +.PHONY: deps fedora-deps fedora-bootstrap fedora-release-upgrade gpg keys + +CONNECTION ?= local +INVENTORY ?= localhost ANSIBLE_PYTHON := /usr/bin/python3 -AP := ansible-playbook -vv -K -c local -i localhost, -e ansible_python_interpreter=$(ANSIBLE_PYTHON) +AP := ansible-playbook -vv -K -c $(CONNECTION) -i $(INVENTORY), -e ansible_python_interpreter=$(ANSIBLE_PYTHON) deps: ansible-galaxy collection install community.general