diff --git a/roles/vault/tasks/bootstrap/start_vault_temp.yml b/roles/vault/tasks/bootstrap/start_vault_temp.yml index 09e47d3a2..dfbc18f0a 100644 --- a/roles/vault/tasks/bootstrap/start_vault_temp.yml +++ b/roles/vault/tasks/bootstrap/start_vault_temp.yml @@ -7,7 +7,7 @@ - name: bootstrap/start_vault_temp | Start single node Vault with file backend command: > - docker run -d --cap-add IPC_LOCK --name {{ vault_temp_container_name }} + docker run -d --name {{ vault_temp_container_name }} -p {{ vault_port }}:{{ vault_port }} -e SKIP_SETCAP=true -e 'VAULT_LOCAL_CONFIG={{ vault_temp_config|to_json }}'