summaryrefslogtreecommitdiff
path: root/components.yml
blob: 011828d2f3ae0b32712e2602a92b8bc73d9f0ce1 (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
- 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') }}"
    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