Class: Ansible::Ruby::Modules::Stacki_host

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/remote_management/stacki/stacki_host.rb

Overview

Use this module to add or remove hosts to a stacki front-end via API. U(github.com/StackIQ/stacki)

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

#force_installObject?

Returns Set value to True to force node into install state if it already exists in stacki.

Returns:

  • (Object, nil)

    Set value to True to force node into install state if it already exists in stacki.



41
# File 'lib/ansible/ruby/modules/generated/remote_management/stacki/stacki_host.rb', line 41

attribute :force_install

#nameString

Returns Name of the host to be added to Stacki.

Returns:

  • (String)

    Name of the host to be added to Stacki.



13
# File 'lib/ansible/ruby/modules/generated/remote_management/stacki/stacki_host.rb', line 13

attribute :name

#prim_intfString?

Returns Name of the primary network interface.

Returns:

  • (String, nil)

    Name of the primary network interface.



37
# File 'lib/ansible/ruby/modules/generated/remote_management/stacki/stacki_host.rb', line 37

attribute :prim_intf

#prim_intf_ipString?

Returns IP Address for the primary network interface.

Returns:

  • (String, nil)

    IP Address for the primary network interface.



33
# File 'lib/ansible/ruby/modules/generated/remote_management/stacki/stacki_host.rb', line 33

attribute :prim_intf_ip

#prim_intf_macString?

Returns MAC Address for the primary PXE boot network interface.

Returns:

  • (String, nil)

    MAC Address for the primary PXE boot network interface.



29
# File 'lib/ansible/ruby/modules/generated/remote_management/stacki/stacki_host.rb', line 29

attribute :prim_intf_mac

#stacki_endpointString

Returns URL for the Stacki API Endpoint.

Returns:

  • (String)

    URL for the Stacki API Endpoint.



25
# File 'lib/ansible/ruby/modules/generated/remote_management/stacki/stacki_host.rb', line 25

attribute :stacki_endpoint

#stacki_passwordString

Returns Password for authenticating with Stacki API, but if not specified, the environment variable C(stacki_password) is used instead.

Returns:

  • (String)

    Password for authenticating with Stacki API, but if not specified, the environment variable C(stacki_password) is used instead.



21
# File 'lib/ansible/ruby/modules/generated/remote_management/stacki/stacki_host.rb', line 21

attribute :stacki_password

#stacki_userString

Returns Username for authenticating with Stacki API, but if not specified, the environment variable C(stacki_user) is used instead.

Returns:

  • (String)

    Username for authenticating with Stacki API, but if not specified, the environment variable C(stacki_user) is used instead.



17
# File 'lib/ansible/ruby/modules/generated/remote_management/stacki/stacki_host.rb', line 17

attribute :stacki_user