---
- name: dev locale
  action: command sudo update-locale LC_ALL=en_US.UTF-8
- name: set default locale
  sudo: yes
  lineinfile: dest=/etc/default/locale
    regexp="LC_ALL"
    line="LC_ALL=\"en_US.UTF-8\""
- apt: pkg={{item}} state=present force=yes update_cache=yes
  with_items:
    - vim
    - redis-tools
    - mongodb-clients
    - curl
    - gzip
    - tree
    - htop
    - nagios-nrpe-server
    - curl
    - build-essential
    - g++
    - dc

---
- name: dev locale
  action: command sudo update-locale LC_ALL=en_US.UTF-8
- name: set default locale
  sudo: yes
  lineinfile: dest=/etc/default/locale
    regexp="LC_ALL"
    line="LC_ALL=\"en_US.UTF-8\""
- authorized_key:
    user: vagrant
    key: "{{ lookup('file', '/provision/roles/jenkins/files/id_rsa.pub') }}"
- apt: pkg={{item}} state=present force=yes update_cache=yes
  with_items:
    - vim
    - redis-tools
    - mongodb-clients
    - curl
    - gzip
    - tree
    - htop
    - nagios-nrpe-server
    - curl
    - build-essential
    - g++
    - dc

Make sure Vagrant key is authorized even if host is not provisioned through Vagrant
Make sure Vagrant key is authorized even if host is not provisioned through Vagrant
