Skip to content

Commit

Permalink
Merge "Do not create nova db user if database unchanged"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed May 9, 2018
2 parents 5539681 + 67d4fdd commit b60468f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ansible/roles/nova/tasks/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
database_password: "{{ nova_api_database_password }}"
run_once: True
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
when: database.changed or use_preconfigured_databases | bool

0 comments on commit b60468f

Please sign in to comment.