asc.core.services_fileshare role – Deploy an Azure File share (on storage account)

Note

This role is part of the asc.core collection (version 1.0.4).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: git clone git@ssh.dev.azure.com:v3/cloudasc/iac-ansible-collections/core $HOME/.ansible/collections/ansible_collections/asc/core.

To use it in a playbook, specify: asc.core.services_fileshare.

Entry point main – Deploy an Azure File share (on storage account)

New in asc.core 1.0.0

Synopsis

  • Deploys an Azure file share on a storage account

Parameters

Parameter

Comments

services_fileshare

dictionary

‘services_fileshare’ role configuration

enabled

boolean

Whether to enable the role

Choices:

  • false ← (default)

  • true

fileshare_drive_letter

string

Drive letter to be assigned to the file share

Default: "Z"

fileshare_mount_point

path

Mount point of the file share

Default: "/mnt/fileshare"

fileshare_name

string / required

Name of the file share

fileshare_quota

integer

Quota of the file share (in GB)

Default: 100

Authors

  • Lorenzo Bernardi