chore(makefile): update PHONY and parametrize connection/inventory

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2022-01-15 12:15:02 +01:00
parent 440de9614d
commit 0d50c821c4
No known key found for this signature in database
GPG key ID: 332171FADF1DB90B

View file

@ -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