Merge "Do not create nova db user if database unchanged"

This commit is contained in:
Zuul 2018-05-09 16:32:36 +00:00 committed by Gerrit Code Review
commit b60468f06e

View File

@ -44,7 +44,9 @@
database_password: "{{ nova_api_database_password }}" database_password: "{{ nova_api_database_password }}"
run_once: True run_once: True
delegate_to: "{{ groups['nova-api'][0] }}" delegate_to: "{{ groups['nova-api'][0] }}"
when: database.changed or not use_preconfigured_databases | bool when:
- database.changed
- not use_preconfigured_databases | bool
- include: bootstrap_service.yml - include: bootstrap_service.yml
when: database.changed or use_preconfigured_databases | bool when: database.changed or use_preconfigured_databases | bool