Let the new compute host be discovered.

This commit is contained in:
Egon Rijpkema 2017-08-17 12:14:41 +02:00
parent e59d2c1c98
commit d964c29c06

View File

@ -36,3 +36,7 @@
systemd:
name: nova-compute.service
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'] }}"