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:
Dmitriy Rabotyagov 2019-07-29 20:14:42 +03:00
parent 3aa4264a93
commit 924fe699cd

View File

@ -70,8 +70,8 @@
- import_tasks: db_setup.yml
when:
- "manila_services['manila-api']['group'] in group_names"
- "inventory_hostname == ((groups[manila_services['manila-api']['group']]| intersect(ansible_play_hosts)) | list)[0]"
- "manila_services['manila_api']['group'] in group_names"
- "inventory_hostname == ((groups[manila_services['manila_api']['group']]| intersect(ansible_play_hosts)) | list)[0]"
vars:
_oslodb_setup_host: "{{ manila_db_setup_host }}"
_oslodb_databases: