From 22ddec8ed8eceb4c0989ea2084e7de0120b1fe04 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 2 Mar 2023 00:14:49 +0100 Subject: Makefile: rename a variable --- .github/workflows/run.yml | 2 +- Makefile | 6 +++--- 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 -- cgit v1.2.3