fix: switch to hosts instead of inventory
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
0d359aa19f
commit
25bfa523f2
1 changed files with 2 additions and 3 deletions
5
Makefile
5
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
|
||||
|
|
Loading…
Reference in a new issue