From fb465f8b4b42e691ef2334b45fb96bbf3c69e33d Mon Sep 17 00:00:00 2001 From: ashon Date: Tue, 1 May 2018 16:42:00 +0900 Subject: [PATCH] Use 'items()' for python compatibility --- roles/etcd/templates/etcd.env.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/etcd/templates/etcd.env.j2 b/roles/etcd/templates/etcd.env.j2 index c18fb4132..3a0a5e573 100644 --- a/roles/etcd/templates/etcd.env.j2 +++ b/roles/etcd/templates/etcd.env.j2 @@ -28,6 +28,6 @@ ETCD_PEER_CERT_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}.pem ETCD_PEER_KEY_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}-key.pem ETCD_PEER_CLIENT_CERT_AUTH={{ etcd_peer_client_auth }} -{% for key, value in etcd_extra_vars.iteritems() %} +{% for key, value in etcd_extra_vars.items() %} {{ key }}={{ value }} {% endfor %}