main.yaml
changeset 67 bd34ae082697
parent 61 2dd82d9e2103
child 68 6024861525db
--- a/main.yaml	Mon Dec 31 15:50:19 2018 -0600
+++ b/main.yaml	Tue Jan 01 21:57:11 2019 -0600
@@ -8,7 +8,33 @@
       become: yes
       raw: "apt-get install python -y"
 
-- hosts: all
+    - name: set hostname in OS
+      become: yes
+      hostname: name="{{inventory_hostname}}"
+
+    - name: change timezone to UTC
+      become: yes
+      timezone: name="UTC"
+
+- hosts: pleroma-01
   roles:
-    - nginx
-    - pleroma
+    - role: pleroma
+      pleroma_host: "haskell.social"
+      pleroma_user: "pleroma_haskell_social"
+      pleroma_port: 4000
+
+    - role: pleroma
+      pleroma_host: "nth.io"
+      pleroma_user: "pleroma_nth_io"
+      pleroma_port: 4001
+
+
+# - hosts: haskell.social
+#   roles:
+#     - nginx
+#     - pleroma
+
+# - hosts: nth.io
+#   roles:
+#     - nginx
+#     - pleroma