Discover targets on given portal, (dis)connect targets, mark targets to manually or auto start, return device nodes of connected targets.

Options

namedescriptionrequiredchoices
portal the ip address of the iscsi target
port the port on which the iscsi target process listens
target the iscsi target name
login whether the target node should be connected
  • true
  • false
node_auth discovery.sendtargets.auth.authmethod
node_user discovery.sendtargets.auth.username
node_pass discovery.sendtargets.auth.password
auto_node_startup whether the target node should be automatically connected at startup
  • true
  • false
discover 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.
  • true
  • false
show_nodes whether the list of nodes in the persistent iscsi database should be returned by the module
  • true
  • false

Author

Serge van Ginderachter (@srvg)