win_group - Add and remove local groups

Author:Chris Hoffman

Synopsis

New in version 1.7.

Add and remove local groups

Options

parameter required default choices comments
description no
    Description of the group
    name yes
      Name of the group
      state no present
      • present
      • absent
      Create or remove the group

      Examples


      # Create a new group
      win_group:
        name: deploy
        description: Deploy Group
        state: present
      
      # Remove a group
      win_group:
        name: deploy
        state: absent
      

      Table Of Contents

      Previous topic

      win_get_url - Fetches a file from a given URL

      Next topic

      win_msi - Installs and uninstalls Windows MSI files