mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-04 15:29:10 -07:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
parent
8b92e0454d
commit
41cfdda6a3
533 changed files with 2130 additions and 2130 deletions
|
@ -73,31 +73,31 @@ options:
|
|||
|
||||
EXAMPLES = r'''
|
||||
- name: Perform a discovery on sun.com and show available target nodes
|
||||
open_iscsi:
|
||||
community.general.open_iscsi:
|
||||
show_nodes: yes
|
||||
discover: yes
|
||||
portal: sun.com
|
||||
|
||||
- name: Perform a discovery on 10.1.2.3 and show available target nodes
|
||||
open_iscsi:
|
||||
community.general.open_iscsi:
|
||||
show_nodes: yes
|
||||
discover: yes
|
||||
ip: 10.1.2.3
|
||||
|
||||
# NOTE: Only works if exactly one target is exported to the initiator
|
||||
- name: Discover targets on portal and login to the one available
|
||||
open_iscsi:
|
||||
community.general.open_iscsi:
|
||||
portal: '{{ iscsi_target }}'
|
||||
login: yes
|
||||
discover: yes
|
||||
|
||||
- name: Connect to the named target, after updating the local persistent database (cache)
|
||||
open_iscsi:
|
||||
community.general.open_iscsi:
|
||||
login: yes
|
||||
target: iqn.1986-03.com.sun:02:f8c1f9e0-c3ec-ec84-c9c9-8bfb0cd5de3d
|
||||
|
||||
- name: Disconnect from the cached named target
|
||||
open_iscsi:
|
||||
community.general.open_iscsi:
|
||||
login: no
|
||||
target: iqn.1986-03.com.sun:02:f8c1f9e0-c3ec-ec84-c9c9-8bfb0cd5de3d
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue