From 923c172044537a223711bd778cbee77da4a4d6ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Lindstr=C3=B6m?= Date: Wed, 21 May 2014 21:17:53 +0200 Subject: [PATCH] Enabled integration tests for encrypted vars in Makefile --- test/integration/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/integration/Makefile b/test/integration/Makefile index 065f28aea5..754ab46a40 100644 --- a/test/integration/Makefile +++ b/test/integration/Makefile @@ -14,7 +14,9 @@ else CREDENTIALS_ARG = endif -all: non_destructive destructive check_mode test_hash test_handlers test_group_by +VAULT_PASSWORD_FILE = vault-password + +all: non_destructive destructive check_mode test_hash test_handlers test_group_by test_var_in_vault non_destructive: ansible-playbook non_destructive.yml -i $(INVENTORY) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -v $(TEST_FLAGS) @@ -38,6 +40,10 @@ test_hash: test_var_precedence: ansible-playbook test_var_precedence.yml -i $(INVENTORY) $(CREDENTIALS_ARG) -v -e 'extra_var=extra_var' +test_var_in_vault: + ansible-playbook test_var_in_vault.yml -i $(INVENTORY) $(CREDENTIALS_ARG) -v $(TEST_FLAGS) --vault-password-file $(VAULT_PASSWORD_FILE) --list-tasks + ansible-playbook test_var_in_vault.yml -i $(INVENTORY) $(CREDENTIALS_ARG) -v $(TEST_FLAGS) --vault-password-file $(VAULT_PASSWORD_FILE) + cloud: amazon rackspace cloud_cleanup: amazon_cleanup rackspace_cleanup