2020-05-20 12:56:52 -05:00
|
|
|
#!/usr/bin/env ansible-playbook
|
|
|
|
# vim:ft=ansible:
|
|
|
|
---
|
2020-05-20 13:06:33 -05:00
|
|
|
- hosts: webservers
|
|
|
|
roles:
|
|
|
|
- apache-php
|
2020-06-21 09:45:11 -05:00
|
|
|
- hosts: fedi1
|
|
|
|
roles:
|
|
|
|
- role: backups
|
|
|
|
tags: [ backups ]
|
2020-06-21 10:22:42 -05:00
|
|
|
- role: matrix
|
|
|
|
tags: [ fedi, matrix ]
|
2020-06-20 10:10:02 -05:00
|
|
|
- hosts: web1
|
2020-05-20 12:56:52 -05:00
|
|
|
roles:
|
|
|
|
- role: backups
|
|
|
|
vars:
|
|
|
|
backups_outdir: "/cold/backups"
|
2020-06-17 09:34:13 -05:00
|
|
|
tags: [ backups ]
|
2020-05-20 12:56:52 -05:00
|
|
|
- role: gitea
|
2020-06-24 07:20:06 -05:00
|
|
|
vars:
|
|
|
|
gitea_root_directory: "/cold/gitea-repositories/"
|
2020-05-20 12:56:52 -05:00
|
|
|
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:
|
|
|
|
gitweb_repo: "https://git.9iron.club/salt/www"
|
|
|
|
gitweb_url: "www.9iron.club"
|
|
|
|
gitweb_webroot: "/var/www/www"
|
|
|
|
tags: [ web, webroot ]
|