From b334935d1ed417e71cbb09b57591b7d5a2b3700c Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 18 Apr 2020 03:15:46 -0500 Subject: [PATCH] Add half a gitlab script --- ec2.yml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/ec2.yml b/ec2.yml index fe22bab..5c13372 100644 --- a/ec2.yml +++ b/ec2.yml @@ -5,9 +5,32 @@ roles: - common - user -- hosts: tag_ansiblehost_true +- 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" roles: - - ansiblehost + - 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" - hosts: tag_www_true vars: mysql_root_password: !vault | @@ -49,3 +72,6 @@ nextcloud_tarbz2: "https://download.nextcloud.com/server/releases/nextcloud-18.0.0.tar.bz2" nextcloud_url: "nc.9iron.club" nextcloud_webroot: "/var/www/nextcloud" +- hosts: tag_ansiblehost_true + roles: + - ansiblehost