Fix db_setup condition
This patch changes condition when db_setup is launched since it used non-existent key for retrieving host for execution. Change-Id: I98fc2e4703cfec45da118958bf79a4bea70b5ff9
This commit is contained in:
@@ -70,8 +70,8 @@
|
|||||||
|
|
||||||
- import_tasks: db_setup.yml
|
- import_tasks: db_setup.yml
|
||||||
when:
|
when:
|
||||||
- "manila_services['manila-api']['group'] in group_names"
|
- "manila_services['manila_api']['group'] in group_names"
|
||||||
- "inventory_hostname == ((groups[manila_services['manila-api']['group']]| intersect(ansible_play_hosts)) | list)[0]"
|
- "inventory_hostname == ((groups[manila_services['manila_api']['group']]| intersect(ansible_play_hosts)) | list)[0]"
|
||||||
vars:
|
vars:
|
||||||
_oslodb_setup_host: "{{ manila_db_setup_host }}"
|
_oslodb_setup_host: "{{ manila_db_setup_host }}"
|
||||||
_oslodb_databases:
|
_oslodb_databases:
|
||||||
|
|||||||
Reference in New Issue
Block a user