Giter Club home page Giter Club logo

azure's Introduction

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.

azure's People

Contributors

alancoding avatar aparna-patil avatar atombrella avatar cai-n avatar davidt99 avatar dependabot[bot] avatar el-memer avatar eugen1987 avatar fred-sun avatar gavinfish avatar gerbenwelter avatar guillaumewatteeux avatar guyomog78 avatar haiyuazhang avatar imjoseangel avatar jnovick avatar kangasta avatar maartendekeizer avatar mattclay avatar next-davidduquehernandez avatar opfpqgoon avatar paultaiton avatar rajsshah86 avatar shwetaliberad avatar sunshine69 avatar suyeb786 avatar titi avatar unwashedmeme avatar willtome avatar zype76 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.