fix: switch to hosts instead of inventory

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2023-08-31 11:54:36 +02:00
parent 0d359aa19f
commit 25bfa523f2
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -1,11 +1,10 @@
.PHONY: deps bootstrap fedora-deps fedora-release-upgrade fedora-switch-repository gpg keys .PHONY: deps bootstrap fedora-deps fedora-release-upgrade fedora-switch-repository gpg keys
CONNECTION ?= local HOSTS ?= localhost
INVENTORY ?= localhost
TAGS ?= all TAGS ?= all
ANSIBLE_PYTHON := /usr/bin/python3 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: deps:
ansible-galaxy collection install community.general ansible-galaxy collection install community.general