Replace all references to "environment" with "env".
It turns out that "environment" is reserved in ansible. See: http://ur1.ca/eb6gp
This commit is contained in:
parent
568e6ad0d8
commit
96610bfb4f
7 changed files with 13 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
|||
{% if environment == 'staging' %}
|
||||
{% if env == 'staging' %}
|
||||
suffix = 'stg.phx2.fedoraproject.org'
|
||||
non_phx_suffix = 'stg.fedoraproject.org'
|
||||
{% else %}
|
||||
|
@ -28,7 +28,7 @@ config = dict(
|
|||
"tcp://releng01.%s:3000" % suffix,
|
||||
"tcp://releng01.%s:3001" % suffix,
|
||||
],
|
||||
{% if not environment == 'staging' %}
|
||||
{% if not env == 'staging' %}
|
||||
"bodhi.app03": [
|
||||
"tcp://app03.%s:300%i" % (suffix, i)
|
||||
for i in range(8)
|
||||
|
@ -68,7 +68,7 @@ config = dict(
|
|||
"tcp://fas01.%s:30%02i" % (suffix, i)
|
||||
for i in range(32)
|
||||
],
|
||||
{% if environment != 'staging' %}
|
||||
{% if env != 'staging' %}
|
||||
"fas.fas02": [
|
||||
"tcp://fas02.%s:30%02i" % (suffix, i)
|
||||
for i in range(32)
|
||||
|
@ -83,7 +83,7 @@ config = dict(
|
|||
"tcp://packages01.%s:30%02i" % (suffix, i)
|
||||
for i in range(32)
|
||||
],
|
||||
{% if environment != 'staging' %}
|
||||
{% if env != 'staging' %}
|
||||
"fedoratagger.packages02": [
|
||||
"tcp://packages02.%s:30%02i" % (suffix, i)
|
||||
for i in range(32)
|
||||
|
@ -92,7 +92,7 @@ config = dict(
|
|||
"busmon_consumers.busgateway01": [
|
||||
"tcp://busgateway01.%s:3000" % suffix,
|
||||
],
|
||||
{% if environment != 'staging' %}
|
||||
{% if env != 'staging' %}
|
||||
"supybot.value03": [
|
||||
"tcp://value03.%s:3000" % suffix,
|
||||
],
|
||||
|
@ -109,7 +109,7 @@ config = dict(
|
|||
for i in range(6)
|
||||
],
|
||||
|
||||
{% if environment != 'staging' %}
|
||||
{% if env != 'staging' %}
|
||||
# fedorahosted trac runs as 4 processes with 4 threads each.
|
||||
"trac.hosted03": [
|
||||
"tcp://hosted03.%s:30%02i" % (vpn_suffix, i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue