From bef0a0a3a662a83273d459d3c39eac3e1ee7b404 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Tue, 1 Jan 2019 21:57:11 -0600 Subject: Split out nginx sites. --- main.yaml | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) (limited to 'main.yaml') diff --git a/main.yaml b/main.yaml index 64b514b..b32b167 100644 --- a/main.yaml +++ b/main.yaml @@ -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 -- cgit v1.2.3