Fixing up some open_iscsi docs and CHANGELOG update

pull/4420/head
James Cammarata 2013-09-25 14:37:56 -05:00
parent c98ed252fe
commit 23417368df
2 changed files with 10 additions and 5 deletions

View File

@ -17,6 +17,7 @@ New modules:
* system: firewalld -- manage the firewalld configuration * system: firewalld -- manage the firewalld configuration
* system: host -- manage host file entries and aliases * system: host -- manage host file entries and aliases
* system: modprobe -- manage kernel modules on systems that support modprobe/rmmod * system: modprobe -- manage kernel modules on systems that support modprobe/rmmod
* system: open_iscsi -- manage targets on an initiator using open-iscsi
Misc changes: Misc changes:

View File

@ -22,7 +22,7 @@ DOCUMENTATION = '''
--- ---
module: open_iscsi module: open_iscsi
author: Serge van Ginderachter author: Serge van Ginderachter
version_added: "1.3" version_added: "1.4"
short_description: Manage iscsi targets with open-iscsi short_description: Manage iscsi targets with open-iscsi
description: description:
- Discover targets on given portal, (dis)connect targets, mark targets to - Discover targets on given portal, (dis)connect targets, mark targets to
@ -88,15 +88,19 @@ options:
examples: examples:
- description: perform a discovery on 10.1.2.3 and show available target - description: perform a discovery on 10.1.2.3 and show available target
nodes 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 - description: discover targets on portal and login to the one available
(only works if exactly one target is exported to the initiator) (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 - description: connect to the named target, after updating the local
persistent database (cache) 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 - 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 import glob