This commit is contained in:
Kevin Fenzi 2013-10-31 17:23:14 +00:00
parent 664dbb7f79
commit 864048c600

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"
when: inventory_hostname startswith "buildvmhost"