enable all services are started at boot
This commit is contained in:
@ -38,6 +38,9 @@
|
||||
name: nova-compute.service
|
||||
state: restarted
|
||||
|
||||
- name: start service at boot.
|
||||
command: systemctl reenable nova-compute.service
|
||||
|
||||
- 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'] }}"
|
||||
|
Reference in New Issue
Block a user