From cd0fb31bd98f85a1426abd1f7df7057d7684becf Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 9 Apr 2016 17:23:33 +0200 Subject: [PATCH] Move netapp_* vars to the iscsi role Since that's the only role where they are used, it make sense to keep it close and not "pollute" the global namespace --- roles/iscsi_client/vars/main.yml | 5 +++++ vars/global.yml | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 roles/iscsi_client/vars/main.yml diff --git a/roles/iscsi_client/vars/main.yml b/roles/iscsi_client/vars/main.yml new file mode 100644 index 0000000000..96d77a97c9 --- /dev/null +++ b/roles/iscsi_client/vars/main.yml @@ -0,0 +1,5 @@ +# iscsi initiator for netapp iscsi volume +netapp_iscsi_name: iqn.1992-08.com.netapp:sn.8a2c2d9073de11e4a645123478563412:vs.13 +# iscsi portal for netapp iscsi volume +netapp_iscsi_portal: 10.5.88.56 + diff --git a/vars/global.yml b/vars/global.yml index 67991f6507..0510713006 100644 --- a/vars/global.yml +++ b/vars/global.yml @@ -52,9 +52,5 @@ global_pkgs_inst: ['bind-utils', 'mailx', 'nc', 'openssh-clients', 'libselinux-python', 'ntpdate', 'bash-completion', 'telnet', 'htop', 'rsyslog' ] -# iscsi initiator for netapp iscsi volume -netapp_iscsi_name: iqn.1992-08.com.netapp:sn.8a2c2d9073de11e4a645123478563412:vs.13 -# iscsi portal for netapp iscsi volume -netapp_iscsi_portal: 10.5.88.56 # become: False by default so ansible doesn't try and check for it and hang become: False