deploy/README.md
changeset 7 5847345004db
child 8 24a3d661309f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deploy/README.md	Mon Sep 17 17:38:24 2018 +0200
@@ -0,0 +1,9 @@
+# build and deployment 
+
+- install Ansible
+- Create a new deployment profile: 
+    - add a new deplyment host list by creating a `hosts/hosts.<profile>` file:
+    - `cp hosts/hosts.tmpl hosts/hosts.<profile>`
+    - define the profile vars: `cp group_vars/group_vars.yml.tmpl group_vars/<profile>.yml`, customize it
+    - create the necessary host vars in `host_vars/<machine>/base.yml`. Use ansible vaults to edit them and do not expose any secret.
+    - deploy with the command `deploy.sh`: `./deploy.sh <profile> <version>`
\ No newline at end of file