src.nth.io/

summaryrefslogtreecommitdiff
path: root/main.yaml
blob: b32b16700f63719bd52a75930a0f3f84c11dad9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---

- name: setup python2
  hosts: all
  gather_facts: no
  tasks:
    - name: install python2
      become: yes
      raw: "apt-get install python -y"

    - 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:
    - 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