summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--playbooks/groups/pkgs.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/playbooks/groups/pkgs.yml b/playbooks/groups/pkgs.yml
index fa0f3c64e..e212edf3a 100644
--- a/playbooks/groups/pkgs.yml
+++ b/playbooks/groups/pkgs.yml
@@ -28,8 +28,14 @@
- git/hooks
- git/checks
- clamav
- - { role: nfs/client, when: env != "staging", mnt_dir: '/srv/cache/lookaside', nfs_src_dir: 'fedora_sourcecache', nfs_mount_opts='rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4' }
- - { role: nfs/client, when: env == "staging", mnt_dir: '/srv/cache/lookaside_prod', nfs_src_dir: 'fedora_sourcecache', nfs_mount_opts='ro,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4' }
+ - { role: nfs/client,
+ when: env != "staging",
+ mnt_dir: '/srv/cache/lookaside',
+ nfs_src_dir: 'fedora_sourcecache', nfs_mount_opts='rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4' }
+ - { role: nfs/client,
+ when: env == "staging" and inventory_hostname.startswith('pkgs02'),
+ mnt_dir: '/srv/cache/lookaside_prod',
+ nfs_src_dir: 'fedora_sourcecache', nfs_mount_opts='ro,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4' }
- role: distgit
tags: distgit
- { role: hosts, when: env == "staging" }