---
- name: python dependencies
  apt: pkg={{ item }}
  with_items:
    - python-pip
    - python-pip
    - python-libxml2
    - python-lxml
    - python-greenlet
    - python-openssl
    - python-dev

- apt: pkg=git

- apt: pkg=ntp

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

# required for apt-add-repository
- apt: pkg=python-software-properties

- apt: pkg=ruby
- apt: pkg=gem

# requried by some custom modules
- gem: name=antsy state=latest

---
- name: python dependencies
  apt: pkg={{ item }}
  with_items:
    - python-pip
    - python-pip
    - python-libxml2
    - python-lxml
    - python-greenlet
    - python-openssl
    - python-dev

- apt: pkg=git

- apt: pkg=ntp

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

# required for apt-add-repository
- apt: pkg=python-software-properties

- apt: pkg=ruby
- apt: pkg=rubygems

# requried by some custom modules
- gem: name=antsy state=latest

Install correct rubygems apt package.
Install correct rubygems apt package.

s/gem/rubygems/.
