
Moved roles to the parent directory so that different adapters don't have duplicated roles in their respective paths. Change-Id: Ia71c473b33fed94276d4d0b4764b2f4ab2e988e0
17 lines
403 B
YAML
17 lines
403 B
YAML
---
|
|
- name: install nova-compute related packages
|
|
apt: name=nova-compute-kvm state=present force=yes
|
|
|
|
- name: update nova-compute conf
|
|
template: src={{ item }} dest=/etc/nova/{{ item }}
|
|
with_items:
|
|
- nova.conf
|
|
- nova-compute.conf
|
|
notify:
|
|
- restart nova-compute
|
|
|
|
- meta: flush_handlers
|
|
|
|
- name: remove nova sqlite db
|
|
shell: rm /var/lib/nova/nova.sqlite || touch nova.sqlite.removed
|