zjleblanc.windows.smb_info (1.0.1) — module

Gather information regarding server message block shares

Authors: Zach LeBlanc (@zjleblanc)

Install collection

Install with ansible-galaxy collection install zjleblanc.windows:==1.0.1


Add to requirements.yml

  collections:
    - name: zjleblanc.windows
      version: 1.0.1

Description

Gets list of server message block shares on a Windows hosts

Gets access details for each share

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get info for all server message block shares
  mgmt.windows.smb_info:
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get info for shares staring with Net
  mgmt.windows.smb_info:
    name: "Net*"

Inputs

    
name:
    default: '*'
    description:
    - Optional name filter to isolate specific shares
    type: str

Outputs

info:
  description: Object containing entries for each server message block share identified
    with metadata and access details
  returned: success
  type: dict

See also