2019-09-15 01:24:44 -05:00
|
|
|
#!/usr/bin/env ansible-playbook
|
2019-08-30 14:13:34 -05:00
|
|
|
# vim:ft=ansible:
|
|
|
|
---
|
2019-09-15 01:26:37 -05:00
|
|
|
- hosts: ec2
|
2019-09-14 11:49:23 -05:00
|
|
|
roles:
|
|
|
|
- common
|
2020-02-05 20:23:20 -06:00
|
|
|
- user
|
2020-04-18 03:15:46 -05:00
|
|
|
- hosts: tag_gitlab_true
|
|
|
|
vars:
|
|
|
|
mysql_root_password: !vault |
|
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
62316565376333396465333931356163343363663063636233653536373033396230626639613964
|
|
|
|
3037613839373833646234626236643430393364643131610a333539373533663434373935376130
|
|
|
|
65323365313465316635646465376665616132653832316362363535366563363863636530313666
|
|
|
|
3036393134386131310a643734363261633166636263343538313533393738323934303137343163
|
|
|
|
39636637643035616236663364663562366133613233313139623937313531343564
|
|
|
|
acme_directory: "https://acme-v02.api.letsencrypt.org/directory"
|
|
|
|
#acme_directory: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
|
|
|
acme_version: 2
|
|
|
|
acme_webroot: "/var/www/acme"
|
2020-02-06 00:38:04 -06:00
|
|
|
roles:
|
2020-04-18 03:15:46 -05:00
|
|
|
- role: gitlab
|
|
|
|
vars:
|
|
|
|
gitlab_mysql_password: !vault |
|
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
62353264353465316661353738666161313036373761666163663733656461316536636334386335
|
|
|
|
6161386630663739363439383237343065333239613134610a383036373735326536386464343164
|
|
|
|
31346337636665356630336234306534646362386663633734353166373761316139313734306630
|
|
|
|
3364306566323666310a323034303434613237643665643637633430353437316339356463646331
|
|
|
|
33353062343164396465326365653561626363343961326363633231303736316436643935646161
|
|
|
|
3933353234613430373930663832643934613233383635613433
|
|
|
|
gitlab_url: "git.9iron.club"
|
|
|
|
gitlab_webroot: "/var/www/gitlab"
|
2020-02-23 23:45:11 -06:00
|
|
|
- hosts: tag_www_true
|
2020-02-05 20:23:20 -06:00
|
|
|
vars:
|
2020-02-05 23:43:22 -06:00
|
|
|
mysql_root_password: !vault |
|
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
62316565376333396465333931356163343363663063636233653536373033396230626639613964
|
|
|
|
3037613839373833646234626236643430393364643131610a333539373533663434373935376130
|
|
|
|
65323365313465316635646465376665616132653832316362363535366563363863636530313666
|
|
|
|
3036393134386131310a643734363261633166636263343538313533393738323934303137343163
|
|
|
|
39636637643035616236663364663562366133613233313139623937313531343564
|
2020-02-06 01:12:23 -06:00
|
|
|
acme_directory: "https://acme-v02.api.letsencrypt.org/directory"
|
|
|
|
#acme_directory: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
2020-02-05 20:23:20 -06:00
|
|
|
acme_version: 2
|
2020-02-20 04:21:29 -06:00
|
|
|
acme_webroot: "/var/www/acme"
|
2020-02-10 01:29:59 -06:00
|
|
|
roles:
|
2020-02-11 04:26:24 -06:00
|
|
|
- role: redirect
|
|
|
|
vars:
|
2020-02-27 05:16:02 -06:00
|
|
|
redirect_from: "9iron.club"
|
|
|
|
redirect_to: "www.9iron.club"
|
2020-02-11 04:26:24 -06:00
|
|
|
redirect_webroot: "/var/www/redirect"
|
2020-02-20 05:26:32 -06:00
|
|
|
- role: gitweb
|
|
|
|
vars:
|
2020-02-26 19:10:21 -06:00
|
|
|
gitweb_repo: "https://gitlab.com/rehashedsalt/www"
|
2020-02-27 05:16:02 -06:00
|
|
|
gitweb_url: "www.9iron.club"
|
2020-02-26 19:10:21 -06:00
|
|
|
gitweb_webroot: "/var/www/www"
|
2020-02-18 02:39:55 -06:00
|
|
|
- role: dokuwiki
|
|
|
|
vars:
|
|
|
|
dokuwiki_tgz: "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz"
|
2020-02-27 05:16:02 -06:00
|
|
|
dokuwiki_url: "wiki.9iron.club"
|
2020-02-18 02:39:55 -06:00
|
|
|
dokuwiki_webroot: "/var/www/dokuwiki"
|
2020-02-10 01:29:59 -06:00
|
|
|
- role: nextcloud
|
|
|
|
vars:
|
|
|
|
nextcloud_mysql_password: !vault |
|
2020-02-05 23:56:41 -06:00
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
37633035633563646266346264333636393931323664313166633133653461646333643731636661
|
|
|
|
3966666665396239346662613764353333393038663762340a313236396331623061376462356437
|
|
|
|
66373234633939393034353439393465663131303661393164303335336435653734613064663964
|
|
|
|
3332313764623133630a393731613236373837316437653265636663666261383135636662373566
|
|
|
|
61373135303632336237333836353764646639633735323566346366623766646266
|
2020-02-10 01:29:59 -06:00
|
|
|
nextcloud_tarbz2: "https://download.nextcloud.com/server/releases/nextcloud-18.0.0.tar.bz2"
|
2020-02-27 05:16:02 -06:00
|
|
|
nextcloud_url: "nc.9iron.club"
|
2020-02-10 01:29:59 -06:00
|
|
|
nextcloud_webroot: "/var/www/nextcloud"
|
2020-04-18 03:15:46 -05:00
|
|
|
- hosts: tag_ansiblehost_true
|
|
|
|
roles:
|
|
|
|
- ansiblehost
|