From f928c45abd22e1fb5e65541d2779c6914a849171 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 4 Jul 2018 03:15:14 +0000 Subject: [PATCH] see if we can fix the openqa workers --- roles/nfs/client/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/nfs/client/tasks/main.yml b/roles/nfs/client/tasks/main.yml index 3d99dd7ef9..cd1d9d8801 100644 --- a/roles/nfs/client/tasks/main.yml +++ b/roles/nfs/client/tasks/main.yml @@ -8,7 +8,7 @@ - name: route config for netapp network copy: src=route-eth1.{{ datacenter }} dest=/etc/sysconfig/network-scripts/route-eth1 - when: (datacenter == 'phx2' or datacenter == 'staging') and 'koji' in mnt_dir + when: (datacenter == 'phx2' or datacenter == 'staging') and ( 'koji' in mnt_dir or 'openqa' in mnt_dir) tags: - nfs/client @@ -22,7 +22,7 @@ - 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 datacenter == 'phx2' and not inventory_hostname.startswith('buildvm-armv7') and 'koji' in mnt_dir + when: netapproute.stdout.find("10.5.88.0") == -1 and datacenter == 'phx2' and not inventory_hostname.startswith('buildvm-armv7') and ( 'koji' in mnt_dir or 'openqa' in mnt_dir ) tags: - nfs/client