equal
deleted
inserted
replaced
6 tasks: |
6 tasks: |
7 - name: install python2 |
7 - name: install python2 |
8 become: yes |
8 become: yes |
9 raw: "apt-get install python -y" |
9 raw: "apt-get install python -y" |
10 |
10 |
11 - hosts: all |
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 |
|
19 - hosts: pleroma-01 |
12 roles: |
20 roles: |
13 - nginx |
21 - role: pleroma |
14 - pleroma |
22 pleroma_host: "haskell.social" |
|
23 pleroma_user: "pleroma_haskell_social" |
|
24 pleroma_port: 4000 |
|
25 |
|
26 - role: pleroma |
|
27 pleroma_host: "nth.io" |
|
28 pleroma_user: "pleroma_nth_io" |
|
29 pleroma_port: 4001 |
|
30 |
|
31 |
|
32 # - hosts: haskell.social |
|
33 # roles: |
|
34 # - nginx |
|
35 # - pleroma |
|
36 |
|
37 # - hosts: nth.io |
|
38 # roles: |
|
39 # - nginx |
|
40 # - pleroma |