Fix depreciation "Using bare variables"

add full variable syntax

Change-Id: Ic945ffb3c321a93db14776d5b1892d790c146ca4
This commit is contained in:
Marc Gariepy 2016-09-12 11:50:02 -04:00
parent 07509721e8
commit 94114142d6
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 }}"