All Projects → dell → ansible-unity

dell / ansible-unity

Licence: GPL-3.0, Apache-2.0 licenses found Licenses found GPL-3.0 LICENSE Apache-2.0 MODULE-LICENSE
Ansible Modules for Dell EMC Unity

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ansible-unity

ECS-CommunityEdition
ECS Community Edition "Free & Frictionless"
Stars: ✭ 125 (+557.89%)
Mutual labels:  storage, emc
cossync
腾讯云COS同步(批量上传)工具
Stars: ✭ 23 (+21.05%)
Mutual labels:  storage
ansible-nae
Cisco NAE Ansible Collection
Stars: ✭ 12 (-36.84%)
Mutual labels:  ansible-collection
gcsfs
Google Cloud Storage filesystem for PyFilesystem2
Stars: ✭ 36 (+89.47%)
Mutual labels:  storage
stoor
Storage wrapper with support for namespacing, timeouts and multi get/set and remove.
Stars: ✭ 26 (+36.84%)
Mutual labels:  storage
react-native-modest-cache
💾 Simple cache for AsyncStorage
Stars: ✭ 23 (+21.05%)
Mutual labels:  storage
oras
ORAS CLI
Stars: ✭ 672 (+3436.84%)
Mutual labels:  storage
dad
Small configuration management tool for Clojure
Stars: ✭ 122 (+542.11%)
Mutual labels:  infrastructure-as-code
phaser-super-storage
A cross platform storage plugin for Phaser
Stars: ✭ 49 (+157.89%)
Mutual labels:  storage
ovirt-ansible-collection
Ansible collection with official oVirt modules and roles
Stars: ✭ 53 (+178.95%)
Mutual labels:  ansible-collection
MeowDB.js
Database in JSON (Node.JS Library)
Stars: ✭ 12 (-36.84%)
Mutual labels:  storage
sasutils
Serial Attached SCSI (SAS) Linux utilities and Python library
Stars: ✭ 36 (+89.47%)
Mutual labels:  storage
mojito-admin-starter
此项目主要为了演示如何自动化 Fullstack project 的 Infrastructure。
Stars: ✭ 17 (-10.53%)
Mutual labels:  infrastructure-as-code
CarryCapacity
Vintage Story mod which adds the capability to carry blocks in-hand and on your back
Stars: ✭ 17 (-10.53%)
Mutual labels:  storage
molecule-demo
Molecule for Ansible Role Testing Demonstration for AnsibleFest 2017
Stars: ✭ 18 (-5.26%)
Mutual labels:  infrastructure-as-code
graphite-remote-adapter
Fully featured graphite remote adapter for Prometheus
Stars: ✭ 33 (+73.68%)
Mutual labels:  storage
aws-cloudformation-simplified
AWS CloudFormation - Simplified | Hands On Learning !!
Stars: ✭ 51 (+168.42%)
Mutual labels:  infrastructure-as-code
react-native-s3
React Native app to upload and display images from Amazon S3 using AWS Amplify as the back end service.
Stars: ✭ 41 (+115.79%)
Mutual labels:  storage
schema-registry-gitops
Manage Confluent Schema Registry subjects through Infrastructure as code
Stars: ✭ 36 (+89.47%)
Mutual labels:  infrastructure-as-code
MIT6.824-2021
4 labs + 2 challenges + 4 docs
Stars: ✭ 594 (+3026.32%)
Mutual labels:  storage

Ansible Modules for Dell Technologies Unity

The Ansible Modules for Dell Technologies (Dell) Unity allow Data Center and IT administrators to use RedHat Ansible to automate and orchestrate the configuration and management of Dell Unity arrays.

The capabilities of the Ansible modules are managing consistency groups, filesystem, filesystem snapshots, CIFS server, NAS server, NFS server, NFS export, SMB share, interface, hosts, snapshots, snapshot schedules, storage pools, user quotas, quota trees and volumes. Capabilities also include gathering facts from the array. The options available for each are list, show, create, modify and delete. These tasks can be executed by running simple playbooks written in yaml syntax. The modules are written so that all the operations are idempotent, so making multiple identical requests has the same effect as making a single request.

License

The Ansible collection for Unity is released and licensed under the GPL-3.0 license. See LICENSE for the full terms. Ansible modules and module utilities that are part of the Ansible collection for Unity are released and licensed under the Apache 2.0 license. See MODULE-LICENSE for the full terms.

Support

The Ansible collection for Unity is supported by Dell and is provided under the terms of the license attached to the collection. Please see the LICENSE section for the full terms. Dell does not provide any support for the source code modifications. For any Ansible modules issues, questions or feedback, join the Dell Automation Community.

Supported Platforms

  • Dell Unity Arrays version 5.1, 5.2

Prerequisites

This table provides information about the software prerequisites for the Ansible Modules for Dell Unity.

Ansible Modules Red Hat Enterprise Linux Python version Python library version Ansible
v1.4.0 8.4
8.5
3.8
3.9
3.10
1.2.11 2.11
2.12
2.13

Idempotency

The modules are written in such a way that all requests are idempotent and hence fault-tolerant. It essentially means that the result of a successfully performed request is independent of the number of times it is executed.

List of Ansible Modules for Dell Unity

Installation of SDK

  • Install python sdk named 'storops'. It can be installed using pip, based on appropriate python version.

      pip install storops
    

Building Collections

  • Use this command to build the collection from source code:

    ansible-galaxy collection build
    

For more details on how to build a tar ball, please refer: Building the collection

Installing Collections

Online Installation of Collections

  1. Use the following command to install the latest collection hosted in galaxy:

     ansible-galaxy collection install dellemc.unity -p <install_path>
    

Offline Installation of Collections

  1. Download the latest tar build from any of the available distribution channel Ansible Galaxy /Automation Hub and use the following command to install the collection anywhere in your system:

     ansible-galaxy collection install dellemc-unity-1.4.0.tar.gz -p <install_path>
    
  2. Set the environment variable:

     export ANSIBLE_COLLECTIONS_PATHS=$ANSIBLE_COLLECTIONS_PATHS:<install_path>
    

Using Collections

  • In order to use any Ansible module, ensure that the importing of proper FQCN (Fully Qualified Collection Name) must be embedded in the playbook. Refer to the following example:

    collections:
    - dellemc.unity
    
  • In order to use an installed collection specific to the task use a proper FQCN (Fully Qualified Collection Name). Refer to the following example:

    tasks:
    - name: Get Volume details
      dellemc.unity.volume
    
  • For generating Ansible documentation for a specific module, embed the FQCN before the module name. Refer to the following example:

    ansible-doc dellemc.unity.info
    

Running Ansible Modules

The Ansible server must be configured with Python library for Unity to run the Ansible playbooks. The Documents provide information on different Ansible modules along with their functions and syntax. The parameters table in the Product Guide provides information on various parameters which need to be configured before running the modules.

SSL Certificate Validation

  • Copy the CA certificate to the "/etc/pki/ca-trust/source/anchors" path of the host by any external means.

  • Set the "REQUESTS_CA_BUNDLE" environment variable to the path of the SSL certificate using the command:

      export REQUESTS_CA_BUNDLE=/etc/pki/ca-trust/source/anchors/<<Certificate_Name>>
    
  • Import the SSL certificate to host using the command:

      update-ca-trust extract
    
  • If "TLS CA certificate bundle error" occurs, then follow these steps:

      cd /etc/pki/tls/certs/
      openssl x509 -in ca-bundle.crt -text -noout 
    

Results

Each module returns the updated state and details of the entity. For example, if you are using the Volume module, all calls will return the updated details of the volume. Sample result is shown in each module's documentation.

Ansible Execution Environment

Ansible can also be installed in a container environment. Ansible Builder provides the ability to create reproducible, self-contained environments as container images that can be run as Ansible execution environments.

  • Install the ansible builder package using:

      pip3 install ansible-builder
    
  • Create the execution environment using:

      ansible-builder build --tag <tag_name> --container-runtime docker
    
  • After the image is built, run the container using:

      docker run -it <tag_name> /bin/bash
    
  • Verify collection installation using command:

      ansible-galaxy collection list
    
  • The playbook can be run on the container using:

      docker run --rm -v $(pwd):/runner <tag_name> ansible-playbook info_tests.yml
    

Maintanence

Ansible Modules for Dell Technologies Unity deprecation cycle is aligned with Ansible.

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].