Add Ansible provisioning of Vagrant env

This commit is contained in:
Martin Polden
2014-01-26 20:59:29 +01:00
parent 137052410b
commit a67a47a93f
10 changed files with 74 additions and 23 deletions

View File

@ -0,0 +1 @@
Europe/Oslo

View File

@ -0,0 +1,3 @@
---
- name: update timezone
command: dpkg-reconfigure --frontend=noninteractive tzdata

View File

@ -0,0 +1,15 @@
---
- name: set timezone
copy: src=timezone
dest=/etc/timezone
owner=root
group=root
mode=0644
notify:
- update timezone
- name: install ntp
apt: pkg=ntp state=latest
- name: make sure ntp is running
service: name=ntp state=running enabled=yes