blob: 7fdbd2e1fb47e3e87b7bf98ff91da995d6dc2765 [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 Grzybowski30b2cbf2019-03-26 16:10:10 +010011 - chrony
Bartek Grzybowski4e2e9e82019-03-13 09:33:53 +010012 - package-repository-check
Petr Ospalýe347ccc2018-12-19 14:52:07 +010013 - certificates
14 - docker
15 - dns
16 - vncserver
Petr Ospalýe347ccc2018-12-19 14:52:07 +010017 - nginx
Samuli Silviusf6f5fc42019-02-13 11:00:39 +020018 - nexus
Petr Ospalýe347ccc2018-12-19 14:52:07 +010019
20- name: Setup base for Kubernetes nodes
Michal Zegan81a56732019-05-28 17:05:01 +020021 hosts: kubernetes:!infrastructure
Petr Ospalýe347ccc2018-12-19 14:52:07 +010022 roles:
Bartek Grzybowski30b2cbf2019-03-26 16:10:10 +010023 - chrony
Bartek Grzybowski4e2e9e82019-03-13 09:33:53 +010024 - package-repository-check
Petr Ospalýe347ccc2018-12-19 14:52:07 +010025 - docker
26 tasks:
Michal Ptacek200ae722019-03-21 12:32:20 +000027 - include_role:
28 name: certificates
29 tasks_from: upload_root_ca.yml
Samuli Silviuse9fca5e2019-03-03 13:34:16 +020030 vars:
Samuli Silvius379df9c2019-03-26 10:24:39 +020031 certificates_local_dir: "{{ playbook_dir }}/certs"