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