From 94114142d696b7d0e0b006fdf4731e3e878bca2d Mon Sep 17 00:00:00 2001 From: Marc Gariepy Date: Mon, 12 Sep 2016 11:50:02 -0400 Subject: [PATCH] Fix depreciation "Using bare variables" add full variable syntax Change-Id: Ic945ffb3c321a93db14776d5b1892d790c146ca4 --- tasks/keystone_nginx.yml | 4 ++-- tasks/keystone_uwsgi.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/keystone_nginx.yml b/tasks/keystone_nginx.yml index cb12aa37..1efa76af 100644 --- a/tasks/keystone_nginx.yml +++ b/tasks/keystone_nginx.yml @@ -38,7 +38,7 @@ template: src: keystone_nginx.conf.j2 dest: "/etc/nginx/{{ keystone_nginx_conf_path }}/{{ item }}.conf" - with_items: keystone_wsgi_program_names + with_items: "{{ keystone_wsgi_program_names }}" notify: Restart Nginx - name: Link to enable virtual hosts @@ -46,6 +46,6 @@ src: "/etc/nginx/sites-available/{{ item }}.conf" path: "/etc/nginx/sites-enabled/{{ item }}.conf" state: link - with_items: keystone_wsgi_program_names + with_items: "{{ keystone_wsgi_program_names }}" when: ansible_os_family == "Debian" notify: Restart Nginx diff --git a/tasks/keystone_uwsgi.yml b/tasks/keystone_uwsgi.yml index 4e5107a6..5d8309c8 100644 --- a/tasks/keystone_uwsgi.yml +++ b/tasks/keystone_uwsgi.yml @@ -26,7 +26,7 @@ mode: "0744" config_overrides: "{{ keystone_uwsgi_ini_overrides }}" config_type: ini - with_items: keystone_wsgi_program_names + with_items: "{{ keystone_wsgi_program_names }}" notify: Restart Keystone APIs - include: keystone_init_common.yml @@ -55,4 +55,4 @@ until: keystone_start | success retries: 5 delay: 2 - with_items: keystone_wsgi_program_names + with_items: "{{ keystone_wsgi_program_names }}"