Skip to content
Snippets Groups Projects
Commit 2e70a4d1 authored by Bertrand Lallau's avatar Bertrand Lallau Committed by Bertrand Lallau
Browse files

Fix keystone-paste.ini custom file management

Custom file was check on remote target instead of local.

Change-Id: I9426056e7bb284eb8b3ad539d61ecb1e1f6370e4
Closes-Bug: #1702490
parent f5d06eb9
No related branches found
No related tags found
No related merge requests found
...@@ -120,11 +120,10 @@ ...@@ -120,11 +120,10 @@
- name: Checking whether keystone-paste.ini file exists - name: Checking whether keystone-paste.ini file exists
vars: vars:
keystone: "{{ keystone_services.keystone }}" keystone: "{{ keystone_services.keystone }}"
stat: local_action: stat path="{{ node_custom_config }}/keystone/keystone-paste.ini"
path: "{{ node_custom_config }}/keystone/keystone-paste.ini" run_once: True
register: check_keystone_paste_ini register: check_keystone_paste_ini
when: when:
- inventory_hostname in groups[keystone.group]
- keystone.enabled | bool - keystone.enabled | bool
- name: Copying over keystone-paste.ini - name: Copying over keystone-paste.ini
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment