ansible/playbooks/webservers.yml

48 lines
1.3 KiB
YAML

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: web1.9iron.club
roles:
- role: base-backups
tags: [ backups ]
- 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, 9i ]
- role: gitweb
vars:
gitweb_repo: "https://git.9iron.club/salt/www2"
gitweb_url: "www.9iron.club"
gitweb_webroot: "/var/www/www"
tags: [ web, webroot, 9i ]
- hosts: web1.9iron.club
roles:
- 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 ]
- hosts: web1.9iron.club
roles:
- role: gitweb
vars:
gitweb_repo: "https://git.9iron.club/salt/desultd"
gitweb_url: "desu.ltd"
gitweb_webroot: "/var/www/desultd"
tags: [ web, webroot, desu ]