From 6c260baeb32ccd74d7c902492dc87721c0282a5f Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Fri, 1 Dec 2017 10:14:00 -0600 Subject: [PATCH] Remove jinja2 delimiters from when This patch removes the jinja2 delimiters from the when clause and cleans up the name of the configuration file deployment task. Closes-Bug: 1735782 Change-Id: I7e1ead5d3dfc9d36b182c73631801cefefb2fbad --- tasks/glance_post_install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/glance_post_install.yml b/tasks/glance_post_install.yml index 759666af..5431cf7b 100644 --- a/tasks/glance_post_install.yml +++ b/tasks/glance_post_install.yml @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -- name: Drop Glance Config(s) +- name: Deploy Glance configuration files config_template: src: "{{ item.src }}" dest: "{{ item.dest }}" @@ -22,7 +22,7 @@ mode: "0640" config_overrides: "{{ item.config_overrides }}" config_type: "{{ item.config_type }}" - when: "{{ item.condition | default(True) }}" + when: item.condition | default(True) with_items: - src: "glance-api-paste.ini.j2" dest: "/etc/glance/glance-api-paste.ini"