Class: Ansible::Ruby::Modules::Win_hostname

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/windows/win_hostname.rb

Overview

Manages local Windows computer name. A reboot is required for the computer name to take effect.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#nameString

Returns The hostname to set for the computer.

Returns:

  • (String)

    The hostname to set for the computer.



13
# File 'lib/ansible/ruby/modules/generated/windows/win_hostname.rb', line 13

attribute :name