aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLarry Smith Jr <mrlesmithjr@gmail.com>2019-12-03 09:04:33 -0500
committerGitHub <noreply@github.com>2019-12-03 09:04:33 -0500
commit6c579ad359ebffd979a580d75216d0ed010f95fd (patch)
treee45fdbc67905803cbf3aa2102c5c206e15bc2536
parentf5ef298d23b154e0dbf2a8c0718498a878dea0f8 (diff)
parent532687b04b43e3b723f1c063217fd13ca5ae9ee7 (diff)
downloadansible-rabbitmq-6c579ad359ebffd979a580d75216d0ed010f95fd.tar.gz
ansible-rabbitmq-6c579ad359ebffd979a580d75216d0ed010f95fd.tar.zst
ansible-rabbitmq-6c579ad359ebffd979a580d75216d0ed010f95fd.zip
Merge pull request #28 from paulrbr-fl/python-3-compat
compatibility: make the role compatible with Python 3
-rw-r--r--.travis.yml5
-rw-r--r--templates/etc/rabbitmq/rabbitmq-env.conf.j22
2 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index a003124..ef0435c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,9 @@
1--- 1---
2language: python 2language: python
3python: "2.7" 3matrix:
4 include:
5 - python: '3.6'
6 - python: '2.7'
4 7
5# Use the new container infrastructure 8# Use the new container infrastructure
6sudo: required 9sudo: required
diff --git a/templates/etc/rabbitmq/rabbitmq-env.conf.j2 b/templates/etc/rabbitmq/rabbitmq-env.conf.j2
index 8eff6f3..60dfa32 100644
--- a/templates/etc/rabbitmq/rabbitmq-env.conf.j2
+++ b/templates/etc/rabbitmq/rabbitmq-env.conf.j2
@@ -1,6 +1,6 @@
1# {{ ansible_managed }} 1# {{ ansible_managed }}
2# Note that the variables do not have the RABBITMQ_ prefix. 2# Note that the variables do not have the RABBITMQ_ prefix.
3# 3#
4{% for key,value in rabbitmq_env_config.iteritems() %} 4{% for key, value in rabbitmq_env_config.items() %}
5{{ key }}={{ value }} 5{{ key }}={{ value }}
6{% endfor %} 6{% endfor %}