Fix keystone-paste.ini custom file management

Custom file was check on remote target instead of local.

Change-Id: I9426056e7bb284eb8b3ad539d61ecb1e1f6370e4
Closes-Bug: #1702490
This commit is contained in:
Bertrand Lallau 2017-07-05 16:01:29 +02:00 committed by Bertrand Lallau
parent f5d06eb9c1
commit 2e70a4d136
1 changed files with 2 additions and 3 deletions

View File

@ -120,11 +120,10 @@
- name: Checking whether keystone-paste.ini file exists
vars:
keystone: "{{ keystone_services.keystone }}"
stat:
path: "{{ node_custom_config }}/keystone/keystone-paste.ini"
local_action: stat path="{{ node_custom_config }}/keystone/keystone-paste.ini"
run_once: True
register: check_keystone_paste_ini
when:
- inventory_hostname in groups[keystone.group]
- keystone.enabled | bool
- name: Copying over keystone-paste.ini