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-16 11:04:25 -05:00
|
|
|
- hosts: web1.9iron.club
|
2020-05-20 12:56:52 -05:00
|
|
|
roles:
|
|
|
|
- role: backups
|
|
|
|
vars:
|
|
|
|
backups_outdir: "/cold/backups"
|
2020-06-17 09:29:24 -05:00
|
|
|
tags: [ backups, pull ]
|
2020-05-20 12:56:52 -05:00
|
|
|
- role: dokuwiki
|
|
|
|
tags: [ web, dokuwiki ]
|
|
|
|
- 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:
|
|
|
|
gitweb_repo: "https://git.9iron.club/salt/www"
|
|
|
|
gitweb_url: "www.9iron.club"
|
|
|
|
gitweb_webroot: "/var/www/www"
|
|
|
|
tags: [ web, webroot ]
|