author | Luke Hoersten <luke@hoersten.org> |
Thu, 03 Jan 2019 20:46:13 -0600 | |
changeset 69 | be979818d483 |
parent 68 | 6024861525db |
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 |
||
69 | 19 |
- name: authorize ssh keys |
20 |
authorized_key: |
|
21 |
user: "ubuntu" |
|
22 |
key: "https://github.com/LukeHoersten.keys" |
|
23 |
||
68
6024861525db
Fixed port placement of multiple instances.
Luke Hoersten <luke@hoersten.org>
parents:
67
diff
changeset
|
24 |
- hosts: pleroma |
60 | 25 |
roles: |
67 | 26 |
- role: pleroma |
27 |
pleroma_user: "pleroma_haskell_social" |
|
69 | 28 |
pleroma_link_host: "haskell.social" |
68
6024861525db
Fixed port placement of multiple instances.
Luke Hoersten <luke@hoersten.org>
parents:
67
diff
changeset
|
29 |
pleroma_port: 4001 |
67 | 30 |
|
69 | 31 |
- hosts: pleroma |
32 |
roles: |
|
67 | 33 |
- role: pleroma |
34 |
pleroma_user: "pleroma_nth_io" |
|
69 | 35 |
pleroma_link_host: "nth.io" |
68
6024861525db
Fixed port placement of multiple instances.
Luke Hoersten <luke@hoersten.org>
parents:
67
diff
changeset
|
36 |
pleroma_port: 4000 |
69 | 37 |
pleroma_signup_open: "false" |