deploy/test_playbook.yml
changeset 0 5f4fcbc80b37
child 2 f72ffe8b30b1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deploy/test_playbook.yml	Fri Sep 14 17:57:34 2018 +0200
@@ -0,0 +1,19 @@
+---
+#
+# all actions
+#
+- hosts: all
+  become: true
+  tasks:
+    - name: install deps
+      apk:
+        name: python-dev,python3-dev,py-virtualenv,nginx,supervisor,shadow,build-base,musl-dev,gcc,linux-headers
+        update_cache: yes
+    - name: create etc supervisor.d folder
+      file:
+        path: /etc/supervisor.d
+        state: directory
+    - name: starts supervisord
+      service:
+        name: supervisord
+        state: started