2020-05-20 12:56:52 -05:00
|
|
|
#!/usr/bin/env ansible-playbook
|
|
|
|
# vim:ft=ansible:
|
|
|
|
---
|
2020-07-28 06:21:29 -05:00
|
|
|
- hosts: fedi1.9iron.club
|
2020-08-01 18:35:38 -05:00
|
|
|
pre_tasks:
|
|
|
|
- name: Assure cowfee record
|
|
|
|
route53:
|
|
|
|
state: present
|
|
|
|
overwrite: yes
|
|
|
|
zone: cowfee.moe
|
|
|
|
type: A
|
|
|
|
record: "cowfee.moe."
|
2020-08-27 17:40:53 -05:00
|
|
|
ttl: 3600
|
2020-08-01 18:35:38 -05:00
|
|
|
value: [ "{{ ipify_public_ip }}" ]
|
|
|
|
wait: yes
|
|
|
|
become: yes
|
|
|
|
tags: [ common, dns ]
|
2020-06-21 09:45:11 -05:00
|
|
|
roles:
|
2020-08-08 20:38:14 -05:00
|
|
|
- role: base-backups
|
2020-06-21 09:45:11 -05:00
|
|
|
tags: [ backups ]
|
2020-08-02 16:28:18 -05:00
|
|
|
- role: matrix
|
|
|
|
vars:
|
2020-08-05 23:33:26 -05:00
|
|
|
matrix_db_hostname: 172.31.47.215
|
2020-08-02 16:28:18 -05:00
|
|
|
tags: [ fedi, matrix ]
|
2020-08-01 18:35:38 -05:00
|
|
|
- role: pleroma
|
|
|
|
vars:
|
|
|
|
pleroma_url: cowfee.moe
|
2020-08-05 23:33:26 -05:00
|
|
|
pleroma_db_hostname: 172.31.47.215
|
2020-08-01 18:35:38 -05:00
|
|
|
tags: [ web, pleroma ]
|
|
|
|
- role: adam
|
|
|
|
vars:
|
|
|
|
adam_name: lain
|
|
|
|
adam_auth_token: !vault |
|
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
33346238356561313736653431666439363835663134303339366536663964333138666530343166
|
|
|
|
6132353938663563316265346630613231616362643937380a616132386464653438343739613937
|
|
|
|
32626230326430396563316363613139306535663832336531636239633364383432373739646436
|
|
|
|
3338376362313539360a383763313439633331313531323232653866633065333933633061326465
|
|
|
|
64343165613961346362353162316530623132633164643461616633633335666232633833313561
|
|
|
|
33306532343963383331623663616161626533633261383238646164663362396261633736636362
|
|
|
|
373764613833343634346333613639626535
|
|
|
|
tags: [ discord, adam ]
|
2020-07-28 06:21:29 -05:00
|
|
|
- hosts: web1.9iron.club
|
2020-05-20 12:56:52 -05:00
|
|
|
roles:
|
2020-08-08 20:38:14 -05:00
|
|
|
- role: base-backups
|
2020-06-17 09:34:13 -05:00
|
|
|
tags: [ backups ]
|
2020-05-20 12:56:52 -05:00
|
|
|
- role: gitea
|
|
|
|
tags: [ web, gitea ]
|
|
|
|
- role: grafana
|
|
|
|
tags: [ web, grafana ]
|
|
|
|
- role: nextcloud
|
|
|
|
tags: [ web, nextcloud ]
|
|
|
|
- role: redirect
|
|
|
|
vars:
|
|
|
|
redirect_from: "9iron.club"
|
|
|
|
redirect_to: "www.9iron.club"
|
|
|
|
redirect_webroot: "/var/www/redirect"
|
|
|
|
tags: [ web, redirect ]
|
|
|
|
- role: gitweb
|
|
|
|
vars:
|
2020-08-16 07:08:05 -05:00
|
|
|
gitweb_repo: "https://git.9iron.club/salt/www2"
|
2020-05-20 12:56:52 -05:00
|
|
|
gitweb_url: "www.9iron.club"
|
|
|
|
gitweb_webroot: "/var/www/www"
|
|
|
|
tags: [ web, webroot ]
|
2020-08-10 20:15:35 -05:00
|
|
|
- role: redirect
|
|
|
|
vars:
|
|
|
|
redirect_from: "otwstudios.org"
|
|
|
|
redirect_to: "www.otwstudios.org"
|
|
|
|
redirect_webroot: "/var/www/redirect"
|
|
|
|
tags: [ web, redirect, otw ]
|
|
|
|
- role: gitweb
|
|
|
|
vars:
|
|
|
|
gitweb_repo: "https://git.9iron.club/KidiroInfiniti/OTW_Site"
|
|
|
|
gitweb_url: "www.otwstudios.org"
|
|
|
|
gitweb_webroot: "/var/www/otwstudios.org"
|
|
|
|
tags: [ web, webroot, otw ]
|