From e8174a0df7ae402e47dc9dbe8d4165f48c329d47 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 24 Oct 2019 15:49:24 +0200 Subject: [PATCH] nfs/client: Don't set up NetApp route for odcs-backend in staging --- roles/nfs/client/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nfs/client/tasks/main.yml b/roles/nfs/client/tasks/main.yml index bded427ff5..dfa311acce 100644 --- a/roles/nfs/client/tasks/main.yml +++ b/roles/nfs/client/tasks/main.yml @@ -28,7 +28,7 @@ - name: run netapp route if needed in phx2 command: /usr/bin/nmcli c up eth1 - when: netapproute.stdout.find("10.5.88.0") == -1 and datacenter == 'phx2' and not inventory_hostname.startswith(('buildvm-armv7','buildhw-aarch64','buildvm-s390x','koji01.stg', 'odcs-frontend01.stg')) and ( 'koji' in mnt_dir or 'fedora/app' in mnt_dir or 'fedora_app/app' in mnt_dir ) + when: netapproute.stdout.find("10.5.88.0") == -1 and datacenter == 'phx2' and not inventory_hostname.startswith(('buildvm-armv7','buildhw-aarch64','buildvm-s390x','koji01.stg', 'odcs-backend01.stg', 'odcs-frontend01.stg')) and ( 'koji' in mnt_dir or 'fedora/app' in mnt_dir or 'fedora_app/app' in mnt_dir ) tags: - nfs/client