Merge "Bootstrap when running against last backend"
This commit is contained in:
commit
ddcca32393
@ -191,12 +191,16 @@
|
|||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
- import_tasks: keystone_service_bootstrap.yml
|
- include_tasks: keystone_service_bootstrap.yml
|
||||||
|
args:
|
||||||
|
apply:
|
||||||
|
tags:
|
||||||
|
- keystone-config
|
||||||
when:
|
when:
|
||||||
- "_keystone_is_first_play_host"
|
- "_keystone_is_last_play_host"
|
||||||
- "keystone_service_setup | bool"
|
- "keystone_service_setup | bool"
|
||||||
tags:
|
tags:
|
||||||
- keystone-config
|
- always
|
||||||
|
|
||||||
# Note(odyssey4me):
|
# Note(odyssey4me):
|
||||||
# This set of tasks specifically runs against the last keystone
|
# This set of tasks specifically runs against the last keystone
|
||||||
@ -265,10 +269,16 @@
|
|||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
- import_tasks: keystone_idp_setup.yml
|
- include_tasks: keystone_idp_setup.yml
|
||||||
when: keystone_idp != {}
|
args:
|
||||||
|
apply:
|
||||||
|
tags:
|
||||||
|
- keystone-config
|
||||||
|
when:
|
||||||
|
- keystone_idp != {}
|
||||||
|
- _keystone_is_last_play_host
|
||||||
tags:
|
tags:
|
||||||
- keystone-config
|
- always
|
||||||
|
|
||||||
- name: Diagnose common problems with keystone deployments
|
- name: Diagnose common problems with keystone deployments
|
||||||
command: "{{ keystone_bin }}/keystone-manage doctor"
|
command: "{{ keystone_bin }}/keystone-manage doctor"
|
||||||
@ -278,5 +288,7 @@
|
|||||||
failed_when: not debug and keystone_doctor.rc != 0
|
failed_when: not debug and keystone_doctor.rc != 0
|
||||||
changed_when: false
|
changed_when: false
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
when:
|
||||||
|
- "_keystone_is_last_play_host"
|
||||||
tags:
|
tags:
|
||||||
- keystone-config
|
- keystone-config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user