From 5759a47992167f1dcef5a1e71d38ed909cfa067b Mon Sep 17 00:00:00 2001 From: mperochon Date: Thu, 1 Jun 2017 12:28:18 +0200 Subject: [PATCH] vault: See hashicorp/docker-vault#19 --- roles/vault/tasks/bootstrap/start_vault_temp.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/vault/tasks/bootstrap/start_vault_temp.yml b/roles/vault/tasks/bootstrap/start_vault_temp.yml index 161ef92d6..1d6d4a01f 100644 --- a/roles/vault/tasks/bootstrap/start_vault_temp.yml +++ b/roles/vault/tasks/bootstrap/start_vault_temp.yml @@ -9,6 +9,7 @@ command: > docker run -d --cap-add=IPC_LOCK --name {{ vault_temp_container_name }} -p {{ vault_port }}:{{ vault_port }} + -e SKIP_SETCAP=true -e 'VAULT_LOCAL_CONFIG={{ vault_temp_config|to_json }}' -v /etc/vault:/etc/vault {{ vault_image_repo }}:{{ vault_version }} server