All Projects → Azure → Azure_preview_modules

Azure / Azure_preview_modules

Azure preview modules for Ansible

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Azure preview modules

Ansible Freeipa
Ansible roles and modules for FreeIPA
Stars: ✭ 284 (+560.47%)
Mutual labels:  ansible, playbook
Ansible For Devops
Ansible for DevOps examples.
Stars: ✭ 5,265 (+12144.19%)
Mutual labels:  ansible, playbook
Elasticluster
Create clusters of VMs on the cloud and configure them with Ansible.
Stars: ✭ 298 (+593.02%)
Mutual labels:  azure, ansible
Azure arc
Automated Azure Arc environments
Stars: ✭ 224 (+420.93%)
Mutual labels:  azure, ansible
Ansible Role Mysql
Ansible Role - MySQL
Stars: ✭ 826 (+1820.93%)
Mutual labels:  ansible, playbook
Ansible Elk
📊 Ansible playbook for setting up an ELK/EFK stack and clients.
Stars: ✭ 284 (+560.47%)
Mutual labels:  ansible, playbook
Ansible Role Php
Ansible Role - PHP
Stars: ✭ 396 (+820.93%)
Mutual labels:  ansible, playbook
Cloud Portal
Self service web portal for different Cloud platforms like Azure, AWS and VMWare vSphere.
Stars: ✭ 60 (+39.53%)
Mutual labels:  azure, ansible
Ansible Ssh Hardening
This Ansible role provides numerous security-related ssh configurations, providing all-round base protection.
Stars: ✭ 746 (+1634.88%)
Mutual labels:  ansible, playbook
Debops
DebOps - Your Debian-based data center in a box
Stars: ✭ 734 (+1606.98%)
Mutual labels:  ansible, playbook
Ops Cli
Ops - cli wrapper for Terraform, Ansible, Helmfile and SSH for cloud automation
Stars: ✭ 152 (+253.49%)
Mutual labels:  azure, ansible
Ansible Collection Gns3
Ansible Collection for GNS3 Server REST API using gns3fy
Stars: ✭ 19 (-55.81%)
Mutual labels:  ansible, playbook
Hybrid multicloud overlay
MutiCloud_Overlay demonstrates a use case of overlay over one or more clouds such as AWS, Azure, GCP, OCI, Alibaba and a vSphere private infrastructure in Hub and spoke topology, point to point topology and in a Single cloud. Overlay protocols IPv6 and IPv4 are independent of underlying infrastructure. This solution can be integrated with encryption and additional security features.
Stars: ✭ 127 (+195.35%)
Mutual labels:  azure, ansible
Cp Ansible
Ansible playbooks for the Confluent Platform
Stars: ✭ 285 (+562.79%)
Mutual labels:  ansible, playbook
Azure
Azure-related repository
Stars: ✭ 78 (+81.4%)
Mutual labels:  azure, ansible
Mac Dev Playbook
Mac setup and configuration via Ansible.
Stars: ✭ 4,202 (+9672.09%)
Mutual labels:  ansible, playbook
Devops Exercises
Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions
Stars: ✭ 20,905 (+48516.28%)
Mutual labels:  azure, ansible
Manageiq
ManageIQ Open-Source Management Platform
Stars: ✭ 1,089 (+2432.56%)
Mutual labels:  azure, ansible
Kubeadm Playbook
Fully fledged (HA) Kubernetes Cluster using official kubeadm, ansible and helm. Tested on RHEL/CentOS/Ubuntu with support of http_proxy, dashboard installed, ingress controller, heapster - using official helm charts
Stars: ✭ 533 (+1139.53%)
Mutual labels:  ansible, playbook
Azure Openshift
RedHat Openshift Origin cluster on Azure
Stars: ✭ 17 (-60.47%)
Mutual labels:  azure, ansible

azure.azure_preview_modules

This role is the most complete and includes all the latest Azure modules. The update and bug fix are done in a more timely manner than official Ansible release.

If you use Ansible for Azure resource provisioning purpose, you're strongly encouraged to install this role.

Prerequisite

The usage of this playbook role assumes that you've already setup an Ansible environment for Azure. For details, please refer to Ansible tutorial Getting Started with Azure or Install and configure Ansible.

Installation

  1. Install the role.
$ ansible-galaxy install azure.azure_preview_modules
  1. Upgrade Azure Python SDKs required by new Azure modules.
$ pip install -r ~/.ansible/roles/azure.azure_preview_modules/files/requirements-azure.txt

    or

$ sudo pip install -r ~/.ansible/roles/azure.azure_preview_modules/files/requirements-azure.txt

Several reasons for installing Python SDKs are listed here.

  • New module is added to the role and this module is for one new Azure resource, which is not included in existing Ansible releases yet. Corresponding SDK for this new resource needs to be installed.

  • Newer versions of SDKs may introduce breaking API change. One specific working version should be installed here.

The required SDKs are listed in the ~/files/requirements-azure.txt file. The requirements-azure.txt file can be found in the installed role folder, which is usually at ~/.ansible/roles/files folder.

The tricky part is the installation location, which has to be the same as where existing Azure Python SDKs are installed. If you meet any error when executing above command, please read below part carefully to double check the installation location.

Taking Ubuntu for example, the existing SDKs may be located in folders like /home/<your-user-name>/.local/lib/python2.7/site-packages or /usr/local/lib/python2.7/dist-packages. The former is a user folder and the latter is a system folder, which requires sudo access. This depends on how you have installed ansible. In short, you should install the SDKs the same way as you installed ansible so that the SDKs are in the same site-packages folder.

On macOS, the existing SDKs may be located in folders like /Users/<your-user-name>/Library/Python/2.7/lib/python/site-packages or /Library/Python/2.7/site-packages. Like Ubuntu, the former is an user folder and the latter is a system folder.

One way to figure out the correct site-packages path is to check the details of existing packages, say azure-mgmt-storage by running below command.

$ pip show azure-mgmt-storage

You can get the output like below.

[email protected]:~$ pip show azure-mgmt-storage
Name: azure-mgmt-storage
Version: 1.5.0
Summary: Microsoft Azure Storage Management Client Library for Python
Home-page: https://github.com/Azure/azure-sdk-for-python
Author: Microsoft Corporation
Author-email: [email protected]
License: MIT License
Location: /home/<your-user-name>/.local/lib/python2.7/site-packages
Requires: azure-common, azure-mgmt-nspkg, msrestazure

From above information you can learn that the SDKs are installed in user site-packages folder and use pip install to install the listed packages. If the SDKs are installed in system path, use sudo pip install to install the listed packages.

Role Variables

No.

Dependencies

No dependencies on other roles.

Example Playbook

- hosts: localhost
  roles:
    - { role: azure.azure_preview_modules }
  tasks:
  - name: create storage account
    azure_rm_storageaccount:
      resource_group: resourcegroupname
      name: storagename
      account_type: Standard_LRS

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].