Docker deployment for tohtori and some refactoring

This commit is contained in:
Niko Kurtti
2015-03-24 15:52:28 +02:00
parent 34553aa6f4
commit b628d35fc8
27 changed files with 906 additions and 635 deletions

View File

@@ -0,0 +1,9 @@
- name: Assures /opt/.ejson dir exists
file: path=/opt/.ejson state=directory mode=700
- name: Deploy ejson private key
copy:
content: "{{ ejson_private_key }}"
dest: /opt/.ejson/{{ ejson_public }}
tags: [ejson]
sudo: true