chore(makefile): update PHONY and parametrize connection/inventory
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
440de9614d
commit
0d50c821c4
1 changed files with 5 additions and 2 deletions
7
Makefile
7
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
|
||||
|
|
Loading…
Reference in a new issue