- 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: 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 roles: - haproxy - deployer vars: hostname: deployer haproxy_domain: wmf2-deployer.vm.liw.fi letsencrypt_email: liw@liw.fi artifact_download_token: "{{ lookup('pipe', 'pass wmf/wmf-gitlab.vm.liw.fi/artifact_download_token') }}" deployer_ssh_pub: "{{ lookup('pipe', 'pass wmf/wmf-gitlab.vm.liw.fi/deployer_ssh.pub') }}" deployer_ssh: "{{ lookup('pipe', 'pass wmf/wmf-gitlab.vm.liw.fi/deployer_ssh') }}" - 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