Salt
7b73a146a1
Come to find out ansible-pull has not worked this entire time because the inventory names were bad fml
33 lines
791 B
YAML
33 lines
791 B
YAML
#!/usr/bin/env ansible-playbook
|
|
# vim:ft=ansible:
|
|
---
|
|
- hosts: webservers
|
|
roles:
|
|
- apache-php
|
|
- hosts: web1
|
|
roles:
|
|
- role: backups
|
|
vars:
|
|
backups_outdir: "/cold/backups"
|
|
tags: [ backups ]
|
|
- 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 ]
|