---
- name: nova user
  user: name=nova shell=/bin/false

- apt: pkg=python-numpy

- name: get nova source repo
  git: |
    repo={{ openstack.git_mirror}}/nova.git dest=/opt/stack/nova version={{ nova.rev }} depth=3
  notify:
    - pip install nova
    - nova rootwrap

- file: dest=/etc/nova state=directory
- file: dest=/var/lib/nova state=directory owner=nova

- name: nova config
  action: template src={{ item }} dest=/etc/nova
  with_fileglob: ../templates/etc/nova/*

- name: nova sudoer
  template: src=etc/sudoers.d/nova dest=/etc/sudoers.d/nova owner=root group=root mode=0440

---
- name: nova user
  user: name=nova shell=/bin/false

- apt: pkg=python-numpy

- name: get nova source repo
  git: |
    repo={{ openstack.git_mirror }}/nova.git dest=/opt/stack/nova version={{ nova.rev }} depth=3
  notify:
    - pip install nova
    - nova rootwrap

- file: dest=/etc/nova state=directory
- file: dest=/var/lib/nova state=directory owner=nova

- name: nova config
  action: template src={{ item }} dest=/etc/nova
  with_fileglob: ../templates/etc/nova/*

- name: nova sudoer
  template: src=etc/sudoers.d/nova dest=/etc/sudoers.d/nova owner=root group=root mode=0440

Add trailing space in nova template param - it was ugly. :)
Add trailing space in nova template param - it was ugly. :)
