1
0
Fork 0
forked from infra/ansible

Revert changes for testing builds in iad2.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-06-02 18:58:13 -07:00
commit 7bc08e8e8b
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@
role: nfs/client,
mnt_dir: "/mnt/fedora_koji",
nfs_src_dir: "{{ koji_hub_nfs }}",
when: "env == 'staging' or createrepo and datacenter != 'iad2' ",
when: "env == 'staging' or createrepo",
}
- role: nfs/client
mnt_dir: '/mnt/koji/ostree'

View file

@ -42,12 +42,12 @@
service: HTTP
owner_user: apache
host: "koji{{env_suffix}}.fedoraproject.org"
- { role: nfs/server, when: env == "staging" or datacenter == 'iad2' }
- { role: nfs/server, when: env == "staging" }
- { 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') and datacenter == 'phx2'
when: env == 'production' and inventory_hostname.startswith('koji')
- 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' or datacenter == 'iad2' and inventory_hostname.startswith('koji')
when: env == 'staging' and inventory_hostname.startswith('koji')
- role: nfs/client
mnt_dir: '/mnt/koji/ostree'
nfs_src_dir: 'fedora-ostree-content/ostree'