From 3009012319eabeccbca01b9c7fb0a41ff9e2cf6a Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Tue, 15 Sep 2015 10:38:12 +0200 Subject: [PATCH] provisioning work added timezone handling and removed flickr2markdown. also clones my pelican-plugins fork instead of the official one. --- ansible/vagrant.yml | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/ansible/vagrant.yml b/ansible/vagrant.yml index 5085be2..ce3b4af 100644 --- a/ansible/vagrant.yml +++ b/ansible/vagrant.yml @@ -49,29 +49,20 @@ - name: clone pelican-plugins git: - repo=https://github.com/getpelican/pelican-plugins.git + repo=git@github.com:xsteadfastx/pelican-plugins.git dest=/vagrant/pelican-plugins - accept_hostkey=yes - - name: clone flickr2markdown - git: - repo=https://github.com/xsteadfastx/flickr2markdown.git - dest=/opt/flickr2markdown - sudo: yes - - - name: install flickr2markdown deps - pip: - requirements=/opt/flickr2markdown/requirements.txt - virtualenv=/opt/flickr2markdown/env - virtualenv_command="virtualenv -p /usr/bin/python3" - sudo: yes - - - name: copy flickr2markdown shellscript + - name: set timezone copy: - src=files/flickr2markdown - dest=/usr/local/bin/flickr2markdown - mode=755 + content="Europe/Berlin" + dest=/etc/timezone + owner=root + group=root + mode=0644 + backup=yes sudo: yes + notify: + - update timezone - name: export variables lineinfile: @@ -87,3 +78,10 @@ global=yes state=present sudo: yes + + handlers: + + - name: update timezone + command: + dpkg-reconfigure --frontend moninteractive tzdata + sudo: yes