Anons79 Mini Shell

Directory : /lib/python2.7/site-packages/ansible/modules/windows/
Upload File :
Current File : //lib/python2.7/site-packages/ansible/modules/windows/win_hostname.pyo

�
�Udac@s4idd6dgd6dd6ZdZdZdZd	S(
s1.1tmetadata_versiontpreviewtstatust	communitytsupported_bys�
module: win_hostname
version_added: "2.6"
short_description: Manages local Windows computer name
description:
- Manages local Windows computer name.
- A reboot is required for the computer name to take effect.
options:
  name:
    description:
    - The hostname to set for the computer.
    type: str
    required: true
seealso:
- module: win_dns_client
author:
- Ripon Banik (@riponbanik)
s�
- name: Change the hostname to sample-hostname
  win_hostname:
    name: sample-hostname
  register: res

- name: Reboot
  win_reboot:
  when: res.reboot_required
s
old_name:
  description: The original hostname that was set before it was changed.
  returned: always
  type: str
  sample: old_hostname
reboot_required:
  description: Whether a reboot is required to complete the hostname change.
  returned: always
  type: bool
  sample: true
N(tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURN(((sH/usr/lib/python2.7/site-packages/ansible/modules/windows/win_hostname.pyt<module>
s





Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]