blob: f6c7ae9ddaebdcbc5b4b1330a5c90fb443a76da3 [file] [log] [blame]
Petr Ospalýe347ccc2018-12-19 14:52:07 +01001---
2- name: Perform common environment setup for nodes
3 hosts: infrastructure, kubernetes
Petr Ospalýe347ccc2018-12-19 14:52:07 +01004 roles:
Samuli Silvius79bfeda2019-02-12 21:08:26 +02005 - package-repository
Bartek Grzybowski4e2e9e82019-03-13 09:33:53 +01006 - firewall
Petr Ospalýe347ccc2018-12-19 14:52:07 +01007
8- name: Setup infrastructure servers
9 hosts: infrastructure
10 roles:
Bartek Grzybowski4e2e9e82019-03-13 09:33:53 +010011 - package-repository-check
Petr Ospalýe347ccc2018-12-19 14:52:07 +010012 - certificates
13 - docker
14 - dns
15 - vncserver
Petr Ospalýe347ccc2018-12-19 14:52:07 +010016 - nginx
Jan Benedikt0182fdb2020-03-11 13:48:52 +010017 - chrony
Samuli Silviusf6f5fc42019-02-13 11:00:39 +020018 - nexus
Bartek Grzybowskid6908ed2021-02-12 14:03:54 +010019 - role: chartmuseum
Petr Ospalýe347ccc2018-12-19 14:52:07 +010020
21- name: Setup base for Kubernetes nodes
Michal Zegan81a56732019-05-28 17:05:01 +020022 hosts: kubernetes:!infrastructure
Petr Ospalýe347ccc2018-12-19 14:52:07 +010023 roles:
Bartek Grzybowski4e2e9e82019-03-13 09:33:53 +010024 - package-repository-check
Jan Benedikt0182fdb2020-03-11 13:48:52 +010025 - chrony
Petr Ospalýe347ccc2018-12-19 14:52:07 +010026 - docker
27 tasks:
Michal Ptacek200ae722019-03-21 12:32:20 +000028 - include_role:
29 name: certificates
30 tasks_from: upload_root_ca.yml
Samuli Silviuse9fca5e2019-03-03 13:34:16 +020031 vars:
Samuli Silvius379df9c2019-03-26 10:24:39 +020032 certificates_local_dir: "{{ playbook_dir }}/certs"