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:
Ralph Bean 2013-06-13 16:23:30 +00:00
parent 568e6ad0d8
commit 96610bfb4f
7 changed files with 13 additions and 15 deletions

View file

@ -1,4 +1,4 @@
{% if environment == 'staging' %}
{% if env == 'staging' %}
suffix = 'stg.phx2.fedoraproject.org'
non_phx_suffix = 'stg.fedoraproject.org'
{% else %}
@ -16,7 +16,7 @@ config = dict(
"tcp://app02.%s:301%i" % (suffix, i)
for i in range(6)
],
{% if not environment == 'staging' %}
{% if not env == 'staging' %}
"pkgdb.app03": [
"tcp://app03.%s:301%i" % (suffix, i)
for i in range(6)