jesperberth.az_resourcegroup

Azure Resource Group

This module creates a Resource Group in Microsoft Azure.

Requirements

You need the Azure SDK.

To install, run:

pip install 'ansible[azure]'

Role Variables

This role uses the following variables:

  • resourcegroup: The name of the Resource Group you want to create.
  • location: The Azure location where you want to create the Resource Group.
  • tag_owner: The owner tag value you want to assign.
  • tag_project: The project tag value you want to assign.

Dependencies

There are no dependencies.

Example Playbook

Here's a simple playbook example:

- hosts: localhost
  name: Create Azure Resource Group
  vars:
    resourcegroup: resourcegroupname
    location: northeurope
    tag_owner: jesper
    tag_project: demoproject
  tasks:
    - name: Azure Resource Group
      include_role:
        name: jesperberth.az_resourcegroup

License

This module is licensed under BSD.

Author Information

The author is Jesper Berth.

Informazioni sul progetto

Create Azure resource group

Installa
ansible-galaxy install jesperberth.az_resourcegroup
Licenza
Unknown
Download
212
Proprietario