From 6dbb1ff8783b0eb70c10021643cf0b8b2e4fdedf Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Wed, 25 Sep 2013 14:37:56 -0500 Subject: [PATCH] Fixing up some open_iscsi docs and CHANGELOG update --- system/open_iscsi | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/system/open_iscsi b/system/open_iscsi index 3f64c89391c..a2e76a4218f 100644 --- a/system/open_iscsi +++ b/system/open_iscsi @@ -22,7 +22,7 @@ DOCUMENTATION = ''' --- module: open_iscsi author: Serge van Ginderachter -version_added: "1.3" +version_added: "1.4" short_description: Manage iscsi targets with open-iscsi description: - Discover targets on given portal, (dis)connect targets, mark targets to @@ -88,15 +88,19 @@ options: examples: - description: perform a discovery on 10.1.2.3 and show available target nodes - code: open_iscsi: show_nodes=yes discover=yes portal=10.1.2.3 + code: > + open_iscsi: show_nodes=yes discover=yes portal=10.1.2.3 - description: discover targets on portal and login to the one available (only works if exactly one target is exported to the initiator) - code: open_iscsi: portal={{iscsi_target}} login=yes discover=yes + code: > + open_iscsi: portal={{iscsi_target}} login=yes discover=yes - description: connect to the named target, after updating the local persistent database (cache) - code: login=yes target=iqn.1986-03.com.sun:02:f8c1f9e0-c3ec-ec84-c9c9-8bfb0cd5de3d + code: > + open_iscsi: login=yes target=iqn.1986-03.com.sun:02:f8c1f9e0-c3ec-ec84-c9c9-8bfb0cd5de3d - description: discconnect from the cached named target - code: login=no target=iqn.1986-03.com.sun:02:f8c1f9e0-c3ec-ec84-c9c9-8bfb0cd5de3d" + code: > + open_iscsi: login=no target=iqn.1986-03.com.sun:02:f8c1f9e0-c3ec-ec84-c9c9-8bfb0cd5de3d" ''' import glob