community.windows.win_computer_description – Set windows description, owner and organization
This plugin is part of the community.windows collection (version 1.6.0).
To install it use:
ansible-galaxy collection install community.windows.
To use it in a playbook, specify:
This module sets Windows description that is shown under My Computer properties. Module also sets Windows license owner and organization. License information can be viewed by running winver commad.
- name: Set Windows description, owner and organization community.windows.win_computer_description: description: Best Box owner: RusoSova organization: MyOrg register: result - name: Set Windows description only community.windows.win_computer_description: description: This is my Windows machine register: result - name: Set organization and clear owner field community.windows.win_computer_description: owner: '' organization: Black Mesa - name: Clear organization, description and owner community.windows.win_computer_description: organization: "" owner: "" description: "" register: result