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