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:
parent
f5d06eb9c1
commit
2e70a4d136
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user