---
- name: update apt index
  apt: update_cache=yes

- name: python dependencies
  apt: pkg={{ item }}
  with_items:
    - python-pip
    - python-libxml2
    - python-lxml
    - python-greenlet
    - python-openssl
    - python-dev
    - python-httplib2
    - python-software-properties
    - python-virtualenv
    - python-mysqldb

- apt: pkg={{ item }}
  with_items:
    - ntp
    - vlan

- name: set UTC timezone
  copy: content='Etc/UTC' dest=/etc/timezone owner=root group=root mode=0644
  notify:
    - update timezone

- name: /opt/stack
  file: dest=/opt/stack state=directory

- include: ssl.yml
- include: ssh.yml
- include: networking.yml
- include: system_tools.yml

# run this last so we only update if run was successful
- name: drop an motd with ursula metadata
  action: template src=etc/motd.tail dest=/etc/motd.tail mode=0644

---
- name: update apt index
  apt: update_cache=yes

- name: python dependencies
  apt: pkg={{ item }}
  with_items:
    - python-pip
    - python-libxml2
    - python-lxml
    - python-greenlet
    - python-openssl
    - python-dev
    - python-httplib2
    - python-software-properties
    - python-virtualenv
    - python-mysqldb

- apt: pkg={{ item }}
  with_items:
    - cryptsetup
    - ntp
    - vlan

- name: set UTC timezone
  copy: content='Etc/UTC' dest=/etc/timezone owner=root group=root mode=0644
  notify:
    - update timezone

- name: /opt/stack
  file: dest=/opt/stack state=directory

- include: ssl.yml
- include: ssh.yml
- include: networking.yml
- include: system_tools.yml

# run this last so we only update if run was successful
- name: drop an motd with ursula metadata
  action: template src=etc/motd.tail dest=/etc/motd.tail mode=0644

Add cryptsetup so that we can map encrypted vols
Add cryptsetup so that we can map encrypted vols

Adding cryptsetup so that we can easily add encrypted volumes and
images.
