escrimaglia / escrimaglia.o4n_azure_storagefile_test / 1.0.19 / module / o4n_azure_list_directories List Directories in a File Share | "added in version" 1.0 of escrimaglia.o4n_azure_storagefile_test" Authors: Ed Scrimagliaescrimaglia.o4n_azure_storagefile_test.o4n_azure_list_directories (1.0.19) — module
Install with ansible-galaxy collection install escrimaglia.o4n_azure_storagefile_test:==1.0.19
collections: - name: escrimaglia.o4n_azure_storagefile_test version: 1.0.19
Connect to Azure Storage file using connection string method
List Directories in a File Share
Return a list of Directories in a File Share
path: description: path, directory, whose directories must be listed. If not present, path is the root of the File Share required: false type: string share: description: Name of the share to be managed required: true type: string 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
output: description: List of Directories returned: allways sample: output: changed: false content: - file_id: '13835104234770530304' is_directory: true name: dir1 - file_id: '13835121826956574720' is_directory: true name: Dir2 failed: false msg: List of Directories created for Directory </> in share <share-to-test2> type: dict