ansible/playbooks/webservers.yml

62 lines
1.9 KiB
YAML
Raw Normal View History

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- 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 ]
- hosts: web1
roles:
- role: backups
vars:
backups_outdir: "/cold/backups"
tags: [ backups ]
- role: gitea
vars:
gitea_root_directory: "/cold/gitea-repositories/"
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 ]
2020-07-23 23:13:16 -05:00
- hosts: web2
roles:
- role: backups
tags: [ backups ]
- role: postfix-ses
tags: [ postfix ]
2020-07-27 09:32:07 -05:00
- 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-23 23:13:16 -05:00
- role: nagios
vars:
nagios_url: "nagios.9iron.club"
tags: [ web, nagios ]