author | Luke Hoersten <luke@hoersten.org> |
Wed, 02 Jan 2019 23:24:27 -0600 | |
changeset 68 | 6024861525db |
parent 67 | bd34ae082697 |
child 69 | be979818d483 |
permissions | -rw-r--r-- |
60 | 1 |
--- |
2 |
||
3 |
- name: setup python2 |
|
4 |
hosts: all |
|
5 |
gather_facts: no |
|
6 |
tasks: |
|
7 |
- name: install python2 |
|
8 |
become: yes |
|
9 |
raw: "apt-get install python -y" |
|
10 |
||
67 | 11 |
- name: set hostname in OS |
12 |
become: yes |
|
13 |
hostname: name="{{inventory_hostname}}" |
|
14 |
||
15 |
- name: change timezone to UTC |
|
16 |
become: yes |
|
17 |
timezone: name="UTC" |
|
18 |
||
68
6024861525db
Fixed port placement of multiple instances.
Luke Hoersten <luke@hoersten.org>
parents:
67
diff
changeset
|
19 |
- hosts: pleroma |
60 | 20 |
roles: |
67 | 21 |
- role: pleroma |
22 |
pleroma_host: "haskell.social" |
|
23 |
pleroma_user: "pleroma_haskell_social" |
|
68
6024861525db
Fixed port placement of multiple instances.
Luke Hoersten <luke@hoersten.org>
parents:
67
diff
changeset
|
24 |
pleroma_port: 4001 |
67 | 25 |
|
26 |
- role: pleroma |
|
27 |
pleroma_host: "nth.io" |
|
28 |
pleroma_user: "pleroma_nth_io" |
|
68
6024861525db
Fixed port placement of multiple instances.
Luke Hoersten <luke@hoersten.org>
parents:
67
diff
changeset
|
29 |
pleroma_port: 4000 |
67 | 30 |
|
31 |
||
32 |
# - hosts: haskell.social |
|
33 |
# roles: |
|
34 |
# - nginx |
|
35 |
# - pleroma |
|
36 |
||
37 |
# - hosts: nth.io |
|
38 |
# roles: |
|
39 |
# - nginx |
|
40 |
# - pleroma |