|
|
||
|---|---|---|
| .. | ||
| tasks | ||
| templates | ||
| vars | ||
| README.md | ||
| group_lookup.yml | ||
| main.yaml | ||
README.md
What is this playbook?
It provisions GPFS storage shared over samba, it is designed to be run parameterised from cloudforms.
The playbook was tested on a development build of a GPFS single node cluster with CES service, the associated ARM template provisions an Azure instance with compatible IP scheme: Ansible Playbooks/ARM_templates/dev/rev1/spectrum_scale_ARM_v2.json
This playbook is functional but unfinished requiring input validation for cloudforms parameterise, better error condition reporting and customised UoN branded HTML customer notification email templates.
Time was called when the production GPFS CES host was not joined to the Active Directory domain in a way that would return windows SID and enable domain user logon to the resultant samba share, RCF2307 is planned to be implemented.
The playbook demonstrates
Checks cloudforms environment and changes the name of the service to include the request ID to uniquely identify what has been ordered.
Check the AD users/groups provided for the share permissions are valid.
Builds a list of users/groups who will have access to the samba share.
Builds a list of users is nested groups and looks up from AD their associated email address to be used in access notification emails.
Creates a GPFS fileset via API.
Creates a GPFS fileset quota via API.
Creates a GPFS samba share via API.
Creates a GPFS samba share ACL via API.
Reports results via console and email.