Right, try this
This commit is contained in:
parent
d3ed2cdf29
commit
15d4338a74
1 changed files with 1 additions and 1 deletions
|
@ -41,4 +41,4 @@
|
|||
command: creates=/var/lib/iscsi/nodes/{{ netapp_nfs01_iscsi_name }}/{{ netapp_nfs01_iscsi_portal }},3260 /sbin/iscsiadm --mode node --targetname --portal {{ netapp_nfs01_iscsi_portal }} -o new ; /sbin/iscsiadm --mode node --targetname {{ netapp_nfs01_iscsi_name }} --portal {{ netapp_nfs01_iscsi_portal }} --login
|
||||
tags:
|
||||
- config
|
||||
when: inventory_hostname startswith "buildvmhost" == 'True'
|
||||
when: inventory_hostname_short is "buildvmhost-10"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue