Merge "Run nova_db_post_setup from playbook directly"
This commit is contained in:
@@ -339,16 +339,3 @@
|
|||||||
compute_host_to_wait_for: "{{ ansible_facts['nodename'] }}"
|
compute_host_to_wait_for: "{{ ansible_facts['nodename'] }}"
|
||||||
tags:
|
tags:
|
||||||
- nova-config
|
- nova-config
|
||||||
|
|
||||||
# We have to delegate this back to the conductor
|
|
||||||
# because the compute hosts do not have access to
|
|
||||||
# the database connection string and therefore
|
|
||||||
# cannot run nova-manage.
|
|
||||||
- name: Importing nova_db_post_setup tasks
|
|
||||||
import_tasks: nova_db_post_setup.yml
|
|
||||||
delegate_to: "{{ nova_conductor_setup_host }}"
|
|
||||||
run_once: true
|
|
||||||
when:
|
|
||||||
- "nova_services['nova-compute']['group'] in group_names"
|
|
||||||
tags:
|
|
||||||
- nova-config
|
|
||||||
|
|||||||
Reference in New Issue
Block a user