ansible/9iron.yml

85 lines
2.9 KiB
YAML

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: all
roles:
- common
- user
- influxdb
- role: user
vars:
user_username: salt
user_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
37666131343936663962386535343939373161343337383436613961303637376136633736353533
3366623536646563383563373265313134663464396231370a303033353661336436386561366139
30393536393634653566646636366436656435623534626266343632313336336336346131383361
3366343932383930350a383637646261373135376138633533306530306339316235353262356135
34626466363266616265653064333365663663306330666632343864373335626265323230633331
33623431633665353964623437636231623366383733626266353162633762373035376638663936
62383065653836366431316461663862393130653761643937376565366435646665313961663534
64303363653631653433343361616635373966326433663466636164613062343561333036613937
35616666633737356331653632323639373330396433366639326466373639313630
- hosts: 9iron.club
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 ]
- hosts: terraria.9iron.club
roles:
- role: terraria
vars:
terraria_name: "1401-main"
terraria_password: "dicks"
terraria_worldsize: 3
terraria_motd: "New major release edition"
terraria_worldname: "The Home Base"
terraria_port: 7777
terraria_difficulty: 0
tags: [ gameserver, terraria ]
- role: terraria
vars:
terraria_name: "1401-farm-normal1"
terraria_password: "dicks"
terraria_worldsize: 3
terraria_motd: "New major release edition"
terraria_worldname: "Farman - Normal 1"
terraria_port: 7778
terraria_difficulty: 0
tags: [ gameserver, terraria ]
- role: terraria
vars:
terraria_name: "1401-farm-master1"
terraria_password: "dicks"
terraria_worldsize: 3
terraria_motd: "New major release edition"
terraria_worldname: "Farman - Master 1"
terraria_port: 7779
terraria_difficulty: 3
tags: [ gameserver, terraria ]
- hosts: ansiblehosts
roles:
- role: ansiblehost
tags: [ ansiblehost ]