Skip to content

Commit 83df335

Browse files
authored
export env vars for makefile target (#129)
Signed-off-by: Riccardo Piccoli <rpiccoli@redhat.com>
1 parent c2a28ef commit 83df335

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ lint-fix: golangci-lint ## Run golangci-lint linter and perform fixes
8484

8585
.PHONY: e2e-test
8686
e2e-test:
87+
export ANSIBLE_HOME=$(ANSIBLE_HOME) && \
88+
export ANSIBLE_LOCAL_TEMP=$(ANSIBLE_LOCAL_TEMP) && \
89+
export ANSIBLE_CACHE_PLUGIN_CONNECTION=$(ANSIBLE_CACHE_PLUGIN_CONNECTION) && \
90+
export XDG_CACHE_HOME=$(XDG_CACHE_HOME) && \
8791
ansible-galaxy collection install -r $(PLAYBOOK_DIR)/../ansible-requirements.yaml && ansible-playbook $(PLAYBOOK_DIR)/run_test.yaml -i $(PLAYBOOK_DIR)/inventories/remote_host.yaml
8892

8993
.PHONY: ansible-lint

0 commit comments

Comments
 (0)