Removed fuel from Genesis master since fuel has moved to repo fuel.
[genesis.git] / compass / deploy / ansible / roles / nova-compute / tasks / main.yml
1 ---
2 - name: install nova-compute related packages
3   apt: name=nova-compute-kvm state=present force=yes
4
5 - name: update nova-compute conf
6   template: src={{ item }} dest=/etc/nova/{{ item }}
7   with_items:
8     - nova.conf
9     - nova-compute.conf
10   notify:
11     - restart nova-compute
12
13 - name: generate neutron controll service list
14   shell: echo {{ item }} >> /opt/service
15   with_items:
16     - nova-compute
17
18 - meta: flush_handlers
19
20 - name: remove nova sqlite db
21   shell: rm /var/lib/nova/nova.sqlite || touch nova.sqlite.removed