No description
  • Python 99.7%
  • Shell 0.2%
Find a file
2026-04-27 22:39:23 +00:00
meta add runtime.yml (#587) 2021-08-03 11:17:17 +08:00
plugins Update azure_rm_manageddisk Doc to reflect return value (#616) 2021-09-06 13:10:41 +08:00
tests update vmss test case (#633) 2021-09-08 15:39:40 +08:00
.gitignore Update contributing notes for dev/testing (#574) 2021-08-05 13:34:10 +08:00
azure-pipelines.yml Revert "Revert "Update azure-pipelines.yml for Azure Pipelines (#17)"" (#30) 2020-02-17 14:24:11 +08:00
CHANGELOG.md Bump version to v1.9.0 (#607) 2021-08-25 16:14:43 +08:00
CONTRIBUTING.md Update contributing notes for dev/testing (#574) 2021-08-05 13:34:10 +08:00
CredScanSuppressions.json Migrate 1st part of batch one modules (#41) 2020-02-21 13:52:18 +08:00
Dockerfile Add Dockerfile: ansible runner with azure.azcollection installed 2026-04-27 22:39:23 +00:00
galaxy.yml Bump version to v1.9.0 (#607) 2021-08-25 16:14:43 +08:00
LICENSE Add GNU General Public License v3.0 license (#7) 2019-11-05 14:19:50 +08:00
pr-pipelines.yml VirtualMachineSize facts module (#605) 2021-08-31 13:30:57 +08:00
README.md Update README with comprehensive project information 2026-04-27 20:36:19 +00:00
release-pipelines.yml Disable pull request validation (#16) 2019-11-22 14:54:59 +08:00
requirements-azure.txt Small update for ansible-collections (#608) 2021-08-24 13:40:39 +08:00
sanity-requirements-azure.txt Optimizing ado.sh (#510) 2021-05-13 14:10:24 +08:00
shippable.yml Another path fix. 2019-10-04 12:31:08 -07:00

azure

Overview

This collection provides a series of Ansible modules and plugins for interacting with the Azure.

Detected project types: Ansible role, Ansible collection.

At a glance

  • Default branch: dev
  • Visibility: public
  • Size: 2.4 MB
  • Created: 2026-04-27
  • Last updated: 2026-04-27
  • Stars / Forks / Open issues: 0 / 0 / 0
  • License: GPL-3.0

Languages

Language Bytes Share
Python 3,357,309 bytes 99.8%
Shell 8,165 bytes 0.2%

Repository structure

  • meta/
  • plugins/
  • tests/
  • .gitignore (118 B)
  • azure-pipelines.yml (923 B)
  • CHANGELOG.md (27,318 B)
  • CONTRIBUTING.md (4,046 B)
  • CredScanSuppressions.json (470 B)
  • galaxy.yml (2,424 B)
  • LICENSE (35,148 B)
  • pr-pipelines.yml (8,529 B)
  • README.md (2,829 B)
  • release-pipelines.yml (600 B)
  • requirements-azure.txt (1,291 B)
  • sanity-requirements-azure.txt (89 B)
  • shippable.yml (644 B)

Getting started

Clone the repository:

git clone https://forgejo.deployview.com/ssa/azure.git
cd azure

Installation

ansible-galaxy install -r requirements.yml
ansible-playbook playbook.yml

Usage

Include this role/collection in a playbook and run with ansible-playbook. See defaults/main.yml (if present) for configurable variables.

Original README

The content below is preserved from the previous README. Headings have been demoted so they don't compete with the new top-level sections.

Ansible collection for Azure

Doc Code of conduct License

This collection provides a series of Ansible modules and plugins for interacting with the Azure.

Documentation of individual modules is available in the Ansible docs site

Requirements

  • ansible version >= 2.9

Installation

To install Azure dependencies:

pip install -r requirements-azure.txt

To install Azure collection hosted in Galaxy:

ansible-galaxy collection install azure.azcollection

To upgrade to the latest version of Azure collection:

ansible-galaxy collection install azure.azcollection --force

Usage

Playbooks

To use a module from Azure collection, please reference the full namespace, collection name, and modules name that you want to use:

---
- name: Using Azure collection
  hosts: localhost
  tasks:
    - azure.azcollection.azure_rm_storageaccount:
        resource_group: myResourceGroup
        name: myStorageAccount
        account_type: Standard_LRS

Or you can add full namepsace and collecton name in the collections element:

---
- name: Using Azure collection
  hosts: localhost
  collections:
    - azure.azcollection
  tasks:
    - azure_rm_storageaccount:
        resource_group: myResourceGroup
        name: myStorageAccount
        account_type: Standard_LRS

Roles

For existing Ansible roles, please also reference the full namespace, collection name, and modules name which used in tasks instead of just modules name.

Plugins

To use a pluign from Azure collection, please reference the full namespace, collection name, and plugins name that you want to use:

plugin: azure.azcollection.azure_rm
    include_vm_resource_groups:
    - ansible-inventory-test-rg
    auth_source: auto

Contributing

There are many ways in which you can participate in the project, for example:

  • Submit bugs and feature requests, and help us verify as they are checked in
  • Review source code changes
  • Review the documentation and make pull requests for anything from typos to new content
  • If you are interested in fixing issues and contributing directly to the code base, please see the CONTRIBUTING document

License

GNU General Public License v3.0

See LICENSE to see the full text.

Contributing

Contributions are welcome. The typical workflow is:

  1. Open an issue describing the change you'd like to make.
  2. Fork the repository (or create a feature branch if you have write access).
  3. Commit your changes with clear, descriptive messages.
  4. Open a pull request against the dev branch.

Please follow the existing code style and include tests or reproduction steps where relevant.

License

This project is licensed under the GPL-3.0 license. See the LICENSE file for the full text.

Repository


This README was generated automatically based on repository metadata, contents, and any prior README content. Edit any section above to add project-specific detail.