Right, try this

This commit is contained in:
Kevin Fenzi 2013-10-31 17:32:36 +00:00
parent d3ed2cdf29
commit 15d4338a74

View file

@ -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"