aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 00:14:49 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 00:14:49 +0100
commit22ddec8ed8eceb4c0989ea2084e7de0120b1fe04 (patch)
tree5a10ebcc73fb04eee780a8f8f3b67a3c3ea9b1b2
parentMakefile: add reboot recipe (diff)
downloadmaintenance-22ddec8ed8eceb4c0989ea2084e7de0120b1fe04.tar.gz
maintenance-22ddec8ed8eceb4c0989ea2084e7de0120b1fe04.zip
Makefile: rename a variable
-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