Use inventory_hostname so vars aren't needed
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
82902bc5d8
commit
fa8f2d5316
1 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,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.
|
# Where to initially mash repositories. You can use %(here)s to reference the location of this file.
|
||||||
# mash_dir =
|
# mash_dir =
|
||||||
{% if ansible_hostname.startswith('bodhi-backend') %}
|
{% if inventory_hostname.startswith('bodhi-backend') %}
|
||||||
mash_dir = /mnt/koji/compose/updates/
|
mash_dir = /mnt/koji/compose/updates/
|
||||||
{% else %}
|
{% else %}
|
||||||
# do not use on frontends as bodhi will check the mount and refuse to run without it.
|
# do not use on frontends as bodhi will check the mount and refuse to run without it.
|
||||||
|
@ -149,7 +149,7 @@ max_concurrent_mashes = 8
|
||||||
# Where to symlink the latest repos by their tag name. You can use %(here)s to reference the
|
# Where to symlink the latest repos by their tag name. You can use %(here)s to reference the
|
||||||
# location of this file.
|
# location of this file.
|
||||||
# mash_stage_dir =
|
# mash_stage_dir =
|
||||||
{% if ansible_hostname.startswith('bodhi-backend') %}
|
{% if inventory_hostname.startswith('bodhi-backend') %}
|
||||||
mash_stage_dir = /mnt/koji/compose/updates/
|
mash_stage_dir = /mnt/koji/compose/updates/
|
||||||
{% else %}
|
{% else %}
|
||||||
# do not use on frontends as bodhi will check the mount and refuse to run without it.
|
# do not use on frontends as bodhi will check the mount and refuse to run without it.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue