From ac17a003b7ee18733ca99f43bd7c2835ce39b8c9 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 16 May 2014 19:40:50 +0000 Subject: [PATCH] Tweak nfs client role --- roles/nfs_client/tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/nfs_client/tasks/main.yml b/roles/nfs_client/tasks/main.yml index be3841cdc5..62a3a4abed 100644 --- a/roles/nfs_client/tasks/main.yml +++ b/roles/nfs_client/tasks/main.yml @@ -9,7 +9,11 @@ - name: run netapp route if needed in phx2 command: /etc/sysconfig/network-scripts/ifup-routes eth1 - when: netapproute.stdout.find("10.5.88.0") == -1 and not inventory_hostname.startswith('arm') and datacenter is phx2 + when: netapproute.stdout.find("10.5.88.0") == -1 and datacenter == 'phx2' + +- name: run netapp route if needed in rdu + command: /etc/sysconfig/network-scripts/ifup-routes eth1 + when: netapproute.stdout.find("172.31.1.0") == -1 and datacenter == 'rdu' # # Install needed packages