jesperberth.az_resourcegroup
Az_resourcegroup
在微软Azure中创建资源组
要求
需要Azure SDK
使用以下命令安装: pip install 'ansible[azure]'
角色变量
角色使用以下变量:
resourcegroup = 要创建的资源组名称
location = 创建资源组所在的Azure区域
tag_owner = 创建具有值的标签所有者
tag_project = 创建具有值的标签项目
依赖性
无
示例剧本
- hosts: localhost
name: 创建Azure资源组
vars:
resourcegroup: resourcegroupname
location: northeurope
tag_owner: jesper
tag_project: demoproject
tasks:
- name: Azure资源组
include_role:
name: jesperberth.az_resourcegroup
许可证
BSD
作者信息
Jesper Berth
安装
ansible-galaxy install jesperberth.az_resourcegroup
许可证
Unknown
下载
212
拥有者