escrimaglia.o4n_azure_storagefile_test.o4n_azure_list_shares (1.0.19) — module

List File Shares in Storage Account

| "added in version" 1.0 of escrimaglia.o4n_azure_storagefile_test"

Authors: Ed Scrimaglia

Install collection

Install with ansible-galaxy collection install escrimaglia.o4n_azure_storagefile_test:==1.0.19


Add to requirements.yml

  collections:
    - name: escrimaglia.o4n_azure_storagefile_test
      version: 1.0.19

Description

Connecto to Azure Storage file using connection string method

List File Shares in service

Return a list of Shares in Service


Requirements

Inputs

    
account_name:
    description: Storage Account Name Provided by Azure Portal
    required: true
    type: string

connection_string:
    description:
    - String that include URL & Token to connect to Azure Storage Account. Provided by
      Azure Portal
    - Storage Account -> Access Keys -> Connection String
    required: true
    type: string

Outputs

output:
  description: List of shares
  returned: allways
  sample:
    output:
      changed: false
      content:
      - automation-filesharing
      - share-bp-cu3
      - share-to-test
      - share-to-test2
      failed: false
      msg: List of Shares created in account <octionstorage>
  type: dict