blob: 27d9d76a01c8da330aeb0ee733f9313b1f71e1a7 (
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
|
---
- name: Perform common environment setup for nodes
hosts: infrastructure, kubernetes
roles:
- package-repository
- firewall
- name: Setup infrastructure servers
hosts: infrastructure
roles:
- package-repository-check
- certificates
- docker
- dns
- vncserver
- nginx
- chrony
- nexus
- role: chartmuseum
when: helm_version | regex_search("^v3" )
- name: Setup base for Kubernetes nodes
hosts: kubernetes:!infrastructure
roles:
- package-repository-check
- chrony
- docker
tasks:
- include_role:
name: certificates
tasks_from: upload_root_ca.yml
vars:
certificates_local_dir: "{{ playbook_dir }}/certs"
|