<commit_before>---
- include: ssh.yml
  when: nova.enable_ssh == True

- include: libvirt.yml

- name: add nova to the libvirtd group
  user: name=nova groups=libvirtd system=yes createhome=no

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

- name: "Nova requires the ndb module to insert files into qcow2 images"
  copy: content="ndb" dest=/etc/modules-load.d/nbd.conf force=yes owner=root group=root mode=0644

- modprobe: name=nbd state=present

- name: install nova-compute service
  upstart_service: |<commit_msg>nova: use /etc/modules for Ubuntu 12.04 comptability<commit_after>---
- include: ssh.yml
  when: nova.enable_ssh == True

- include: libvirt.yml

- name: add nova to the libvirtd group
  user: name=nova groups=libvirtd system=yes createhome=no

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

- lineinfile: dest=/etc/modules line="ndb"

- modprobe: name=nbd state=present

- name: install nova-compute service
  upstart_service: |
{'fraction_non_alphanumeric': 0.11495422177009156, 'fraction_numerical': 0.009155645981688708, 'mean_word_length': 4.406593406593407, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5604938', 'n_tokens_mistral': 362, 'n_tokens_neox': 343, 'n_words': 92}