Let the new compute host be discovered.
This commit is contained in:
parent
e59d2c1c98
commit
d964c29c06
@ -36,3 +36,7 @@
|
|||||||
systemd:
|
systemd:
|
||||||
name: nova-compute.service
|
name: nova-compute.service
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
|
- name: let nova controler discover new host
|
||||||
|
command: docker exec -i nova-controller.service nova-manage cell_v2 discover_hosts
|
||||||
|
delegate_to: "{{ hostvars[groups['nova-controller'][0]]['ansible_hostname'] }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user