enable all services are started at boot

This commit is contained in:
Egon Rijpkema
2017-09-29 16:40:38 +02:00
parent 018fdd8bdb
commit 257a384e92
13 changed files with 45 additions and 0 deletions

View File

@ -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'] }}"