From: Michael Scherer <misc@xxxxxxxx> 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 0000000..96d77a9 --- /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 67991f6..0510713 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 -- 1.8.3.1 _______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx