mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #12804 from chrismeyersfsu/fix-test_non_destructive_makefile
allow env variable override of creds file
This commit is contained in:
commit
549bdb2503
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ ifndef CLOUD_RESOURCE_PREFIX
|
||||||
CLOUD_RESOURCE_PREFIX := $(shell python -c "import string,random; print('ansible-testing-' + ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(8)));")
|
CLOUD_RESOURCE_PREFIX := $(shell python -c "import string,random; print('ansible-testing-' + ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(8)));")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CREDENTIALS_FILE = credentials.yml
|
CREDENTIALS_FILE ?= credentials.yml
|
||||||
# If credentials.yml exists, use it
|
# If credentials.yml exists, use it
|
||||||
ifneq ("$(wildcard $(CREDENTIALS_FILE))","")
|
ifneq ("$(wildcard $(CREDENTIALS_FILE))","")
|
||||||
CREDENTIALS_ARG = -e @$(CREDENTIALS_FILE)
|
CREDENTIALS_ARG = -e @$(CREDENTIALS_FILE)
|
||||||
|
|
Loading…
Reference in a new issue