项目作者: amanvirmundra

项目描述 :
Custom module to retrieve account keys for Azure Storage account.
高级语言: Python
项目地址: git://github.com/amanvirmundra/ansible-azure-storage-keys-module.git


Azure RM Storage Account Keys module

In a lot of automation scenarios there is need to create a new storage account and pass on the ‘key’ to subsequent tasks. Currently, there is no azure module that retrieves the keys. The way around is to run a powershell command or make a call to the ARM REST api.

This modules demonstrates how to create a custom module for Ansible.



  1. azure_rm_storageaccount_keys.py


    Demostrates how to create a custom module for ansible using the standard Ansible module structure New module development.




  2. azure_rm_storageaccountkeys_facts.py



    This implementation follows the same pattern as other Azure modules built for Ansible. It uses base functionality of azure_rm_common.py to handle common functionality like authentication, error handling, exceptions and instantiation of resource clients.