diff options
author | Larry Smith Jr <mrlesmithjr@gmail.com> | 2019-12-03 09:04:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-03 09:04:33 -0500 |
commit | 6c579ad359ebffd979a580d75216d0ed010f95fd (patch) | |
tree | e45fdbc67905803cbf3aa2102c5c206e15bc2536 | |
parent | f5ef298d23b154e0dbf2a8c0718498a878dea0f8 (diff) | |
parent | 532687b04b43e3b723f1c063217fd13ca5ae9ee7 (diff) | |
download | ansible-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.yml | 5 | ||||
-rw-r--r-- | templates/etc/rabbitmq/rabbitmq-env.conf.j2 | 2 |
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 | --- |
2 | language: python | 2 | language: python |
3 | python: "2.7" | 3 | matrix: |
4 | include: | ||
5 | - python: '3.6' | ||
6 | - python: '2.7' | ||
4 | 7 | ||
5 | # Use the new container infrastructure | 8 | # Use the new container infrastructure |
6 | sudo: required | 9 | sudo: 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 %} |