mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 02:42:12 +08:00
fix conditional
This commit is contained in:
@@ -123,7 +123,7 @@ releng_fedmsg_certname = shell-bodhi-backend01{{env_suffix}}.phx2.fedoraproject.
|
||||
|
||||
# Where to initially mash repositories. You can use %(here)s to reference the location of this file.
|
||||
# mash_dir =
|
||||
{% if env == 'production' %}
|
||||
{% if ansible_hostname.startswith('bodhi-backend') %}
|
||||
mash_dir = /mnt/koji/compose/updates/
|
||||
{% else %}
|
||||
# do not use on frontends as bodhi will check the mount and refuse to run without it.
|
||||
@@ -137,7 +137,7 @@ max_concurrent_mashes = 4
|
||||
# Where to symlink the latest repos by their tag name. You can use %(here)s to reference the
|
||||
# location of this file.
|
||||
# mash_stage_dir =
|
||||
{% if env == 'production' %}
|
||||
{% if ansible_hostname.startswith('bodhi-backend') %}
|
||||
mash_stage_dir = /mnt/koji/compose/updates/
|
||||
{% else %}
|
||||
# do not use on frontends as bodhi will check the mount and refuse to run without it.
|
||||
|
||||
Reference in New Issue
Block a user