Class: Ansible::Ruby::Modules::Open_iscsi

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

attr_options, attribute, #initialize, #to_h, validates

Constructor Details

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

Instance Method Details

#auto_node_startupBoolean?

Returns whether the target node should be automatically connected at startup.

Returns:

  • (Boolean, nil)

    whether the target node should be automatically connected at startup



36
# File 'lib/ansible/ruby/modules/generated/extras/system/open_iscsi.rb', line 36

attribute :auto_node_startup

#discoverBoolean?

Returns whether the list of target nodes on the portal should be (re)discovered and added to the persistent iscsi database. Keep in mind that iscsiadm discovery resets configurtion, like node.startup to manual, hence combined with auto_node_startup=yes will allways return a changed state.

Returns:

  • (Boolean, nil)

    whether the list of target nodes on the portal should be (re)discovered and added to the persistent iscsi database. Keep in mind that iscsiadm discovery resets configurtion, like node.startup to manual, hence combined with auto_node_startup=yes will allways return a changed state.



40
# File 'lib/ansible/ruby/modules/generated/extras/system/open_iscsi.rb', line 40

attribute :discover

#loginBoolean?

Returns whether the target node should be connected.

Returns:

  • (Boolean, nil)

    whether the target node should be connected



22
# File 'lib/ansible/ruby/modules/generated/extras/system/open_iscsi.rb', line 22

attribute :login

#node_authString?

Returns discovery.sendtargets.auth.authmethod.

Returns:

  • (String, nil)

    discovery.sendtargets.auth.authmethod



26
# File 'lib/ansible/ruby/modules/generated/extras/system/open_iscsi.rb', line 26

attribute :node_auth

#node_passObject?

Returns discovery.sendtargets.auth.password.

Returns:

  • (Object, nil)

    discovery.sendtargets.auth.password



33
# File 'lib/ansible/ruby/modules/generated/extras/system/open_iscsi.rb', line 33

attribute :node_pass

#node_userObject?

Returns discovery.sendtargets.auth.username.

Returns:

  • (Object, nil)

    discovery.sendtargets.auth.username



30
# File 'lib/ansible/ruby/modules/generated/extras/system/open_iscsi.rb', line 30

attribute :node_user

#portInteger?

Returns the port on which the iscsi target process listens.

Returns:

  • (Integer, nil)

    the port on which the iscsi target process listens



14
# File 'lib/ansible/ruby/modules/generated/extras/system/open_iscsi.rb', line 14

attribute :port

#portalString?

Returns the ip address of the iscsi target.

Returns:

  • (String, nil)

    the ip address of the iscsi target



10
# File 'lib/ansible/ruby/modules/generated/extras/system/open_iscsi.rb', line 10

attribute :portal

#show_nodesBoolean?

Returns whether the list of nodes in the persistent iscsi database should be returned by the module.

Returns:

  • (Boolean, nil)

    whether the list of nodes in the persistent iscsi database should be returned by the module



44
# File 'lib/ansible/ruby/modules/generated/extras/system/open_iscsi.rb', line 44

attribute :show_nodes

#targetString?

Returns the iscsi target name.

Returns:

  • (String, nil)

    the iscsi target name



18
# File 'lib/ansible/ruby/modules/generated/extras/system/open_iscsi.rb', line 18

attribute :target