5.3.2. 为自动化中心配置 Azure Blob Storage
Azure Blob 存储是容器化安装支持的对象存储类型。使用 Azure blob 存储后端时,将 hub_storage_backend 设置为 azure。在运行安装程序前,Azure 容器需要存在。
流程
- 在继续安装前,请确保 Azure 容器存在。
将以下变量添加到
[all:vars]组下的清单文件中以配置 Azure Blob 存储:[all:vars] hub_storage_backend=azure hub_azure_account_key=<account_key> hub_azure_account_name=<account_name> hub_azure_container=<container_name>可选: 您可以使用
hub_azure_extra_settings变量将额外的参数传递给 Azure Blob 存储后端。例如:hub_azure_extra_settings={'AZURE_LOCATION': 'foo', 'AZURE_SSL': True, 'AZURE_URL_EXPIRATION_SECS': 60}