aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/run.yml2
-rw-r--r--Makefile6
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml
index 8d869ef..d171d6b 100644
--- a/.github/workflows/run.yml
+++ b/.github/workflows/run.yml
@@ -31,4 +31,4 @@ jobs:
- name: Install collections
run: make deps
- name: Run Ansible play
- run: make run limit='${{ github.event.inputs.hosts }}'
+ run: make run LIMIT='${{ github.event.inputs.hosts }}'
diff --git a/Makefile b/Makefile
index b696d93..c02d3b0 100644
--- a/Makefile
+++ b/Makefile
@@ -20,10 +20,10 @@ ifeq ($$(origin $(1)),command line)
endif
endef
-limit ?= all
-$(eval $(call noexpand,limit))
+LIMIT ?= all
+$(eval $(call noexpand,LIMIT))
-args := --inventory inventory.ini --limit '$(call escape,$(limit))'
+args := --inventory inventory.ini --limit '$(call escape,$(LIMIT))'
.PHONY: all
all: run