Class: Ansible::Ruby::Modules::Hostname

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/system/hostname.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#nameString

Returns Name of the host.

Returns:

  • (String)

    Name of the host



10
# File 'lib/ansible/ruby/modules/generated/core/system/hostname.rb', line 10

attribute :name