iad2: adjust koji so it's a sort of staging setup.

This should allow us to test scratch builds at least.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-06-02 13:59:47 -07:00
parent 88e27b71f5
commit d052079cf1
2 changed files with 4 additions and 3 deletions

View file

@ -42,12 +42,12 @@
service: HTTP
owner_user: apache
host: "koji{{env_suffix}}.fedoraproject.org"
- { role: nfs/server, when: env == "staging" }
- { role: nfs/server, when: env == "staging" or datacenter == 'iad2' }
- { role: keepalived, when: env == "production" and inventory_hostname.startswith('koji') and datacenter == 'phx2' }
- role: nfs/client
mnt_dir: '/mnt/fedora_koji'
nfs_src_dir: 'fedora_koji'
when: env == 'production' and inventory_hostname.startswith('koji')
when: env == 'production' and inventory_hostname.startswith('koji') and datacenter == 'phx2'
- role: nfs/client
mnt_dir: '/mnt/fedora_koji/koji/vol/fedora_koji_archive00'
nfs_src_dir: 'fedora_koji_archive00'
@ -88,7 +88,7 @@
- role: nfs/client
mnt_dir: '/mnt/fedora_koji_prod'
nfs_src_dir: 'fedora_koji'
when: env == 'staging' and inventory_hostname.startswith('koji')
when: env == 'staging' or datacenter == 'iad2' and inventory_hostname.startswith('koji')
- role: nfs/client
mnt_dir: '/mnt/koji/ostree'
nfs_src_dir: 'fedora-ostree-content/ostree'

View file

@ -0,0 +1 @@
/mnt/fedora_koji 10.3.169.0/24(rw,no_root_squash)