#!/usr/bin/env ansible-playbook # vim:ft=ansible: --- - hosts: all roles: - common - user - influxdb - 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 ]