escrimaglia / escrimaglia.o4n_azure_storagefile_test / 1.0.19 / module / o4n_azure_manage_directory Create and Delete Directories and Sub Directory in a share Storage File | "added in version" 1.0 of escrimaglia.o4n_azure_storagefile_test" Authors: Ed Scrimagliaescrimaglia.o4n_azure_storagefile_test.o4n_azure_manage_directory (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
Create a Directory in a share in a Storage File account when state param is eq to present
Delete a Directory in a share in a Storage File account when state param is eq to absent
Create a Sub Directory under a parent Directory in a share in a Storage File account when state param is eq to present
Delete a Sub Directory under a parent Directory in a share in a Storage File account when state param is eq to absent
path: description: path, directory, to create or delete required: true type: string share: description: Name of the share to be managed required: true type: string state: choices: - present - absent default: present description: Create or delete a Directory a Sub Directory required: false type: string parent_path: description: parent path, directory, where directory must be created or deleted required: false 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 created or deleted returned: allways sample: output: changed: false content: /dir1/dir3 failed: false msg: Sub Directory <dir3> <created> under Directory <dir1> in share <share-to-test2> type: dict