summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2019-07-23 16:17:04 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2019-07-23 16:17:04 +0300
commit240a009e791ad1c196cacb7ecd40b368352a76b0 (patch)
treef23a3f9ac109ece166625a3422b7e84823f63684
parent7eb18f29bdd6787d017ea2a417eb0ec46d8b8f8c (diff)
downloadwmf-gitlab-240a009e791ad1c196cacb7ecd40b368352a76b0.tar.gz
Add: controller to components.yml
-rw-r--r--components.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/components.yml b/components.yml
index 3ade068..411e6df 100644
--- a/components.yml
+++ b/components.yml
@@ -7,6 +7,18 @@
hostname: testenv
deployer_ssh_pub: "{{ lookup('pipe', 'pass wmf/wmf-gitlab.vm.liw.fi/deployer_ssh.pub') }}"
+- hosts: controller
+ remote_user: root
+ become: no
+ roles:
+ - haproxy
+ - controller
+ vars:
+ hostname: controller
+ haproxy_domain: wmf2-controller.vm.liw.fi
+ letsencrypt_email: liw@liw.fi
+ controller_token: "{{ lookup('pipe', 'pass wmf/wmf-gitlab.vm.liw.fi/controller_token') }}"
+
- hosts: deployer
remote_user: root
become: no