Server IP : 85.214.239.14 / Your IP : 18.224.73.150 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/usr/lib/python3/dist-packages/ansible_collections/azure/azcollection/ |
Upload File : |
# Ansible collection for Azure [![Doc](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://docs.ansible.com/ansible/latest/modules/list_of_cloud_modules.html#azure) [![Code of conduct](https://img.shields.io/badge/code%20of%20conduct-Ansible-silver.svg)](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html) [![License](https://img.shields.io/badge/license-GPL%20v3.0-brightgreen.svg)](LICENSE) This collection provides a series of Ansible modules and plugins for interacting with the [Azure](https://azure.microsoft.com). Documentation of individual modules is [available in the Ansible docs site](https://docs.ansible.com/ansible/latest/collections/azure/azcollection/index.html#plugins-in-azure-azcollection) ## Installation It is recommended to run ansible in [Virtualenv](https://virtualenv.pypa.io/en/latest/) ## Requirements - ansible version >= 2.9 To install Azure collection hosted in Galaxy: ```bash ansible-galaxy collection install azure.azcollection ``` Install dependencies required by the collection (adjust path to collection if necessary): ```bash pip3 install -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt ``` To upgrade to the latest version of Azure collection: ```bash 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: ```yaml --- - 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 collection name in the `collections` element: ```yaml --- - 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 plugin from Azure collection, please reference the full namespace, collection name, and plugins name that you want to use: ```yaml --- 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](CONTRIBUTING.md) document ## License GNU General Public License v3.0 See [LICENSE](LICENSE) to see the full text.