summaryrefslogtreecommitdiff
path: root/components.yml
blob: e09671fd9291a745d00eadc36ea4bf307e631935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
- hosts: testenv
  remote_user: root
  become: no
  roles:
    - apache2
  vars:
    hostname: testenv
    deployer_ssh_pub: "{{ lookup('pipe', 'pass wmf/wmf-gitlab.vm.liw.fi/deployer_ssh.pub') }}"

- hosts: artifacts
  remote_user: root
  become: no
  roles:
    - haproxy
    - artifacts
  vars:
    hostname: artifacts
    haproxy_domain: wmf2-artifacts.vm.liw.fi
    letsencrypt_email: liw@liw.fi

- hosts: vcsworker
  remote_user: root
  become: no
  roles:
    - haproxy
    - vcsworker
  vars:
    gitlab_token: "{{ lookup('pipe', 'pass wmf/wmf-gitlab.vm.liw.fi/gitlab_token') }}"
    artifact_token: "{{ lookup('pipe', 'pass wmf/wmf-gitlab.vm.liw.fi/artifact_token') }}"
    vcsworker_ssh_pub: "{{ lookup('pipe', 'pass wmf/wmf-gitlab.vm.liw.fi/vcsworker_ssh.pub') }}"
    vcsworker_ssh: "{{ lookup('pipe', 'pass wmf/wmf-gitlab.vm.liw.fi/vcsworker_ssh') }}"

    hostname: wmf2-api

    debian_codename: stretch
    debian_mirror: deb.debian.org

    haproxy_domain: wmf2-vcsworker.vm.liw.fi
    letsencrypt_email: liw@liw.fi