You are reading an unmaintained version of the Ansible documentation. Unmaintained Ansible versions can contain unfixed security vulnerabilities (CVE). Please upgrade to a maintained version. See the latest Ansible documentation.
# Playbook example# Add share and set permissions----name:Add secret sharewin_share:name:internaldescription:top secret sharepath:C:\shares\internallist:nofull:Administrators,CEOread:HR-Globaldeny:HR-External-name:Add public company sharewin_share:name:companydescription:top secret sharepath:C:\shares\companylist:yesfull:Administrators,CEOread:Global-name:Remove previously added sharewin_share:name:internalstate:absent
For more information about Red Hat’s this support of this module, please
refer to this knowledge base article<https://access.redhat.com/articles/rhel-top-support-policies>