-
Notifications
You must be signed in to change notification settings - Fork 3
/
hosts.yaml.example
115 lines (98 loc) · 2.78 KB
/
hosts.yaml.example
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
# Network device name:
# 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)
# - Intel I219-LM => enp0s31f6
all:
vars:
ansible_ssh_private_key_file: ~/.ssh/operate-first
ansible_user: root
hetzner_webservice_username: "xxxx"
hetzner_webservice_password: "xxxx"
image_pull_secret: '{xxx}'
ssh_public_key: "xxx"
base_domain: example.com
cluster_name: ocp1
gcp_managed_zone_name: example-com
gcp_managed_zone_domain: example.com.
gcp_project: example-com
gcp_serviceaccount_file: example-asdf.json
hetzner_disk1: sda
hetzner_disk2: sdb
nodes:
children:
masters:
workers:
bootstrap:
workers:
vars:
install_device: /dev/sda
network_dns: "213.133.98.98;213.133.99.99;213.133.100.100"
network_primary_interface: enp4s0
network_mask: 26
ignition_name: worker.ign
hosts:
host05.example.com:
hetzner_ipv6: 2a01:4f8:171:3646::2
hetzner_server_number: xxxxxx
host06.example.com:
hetzner_ipv6: 2a01:4f8:171:3647::2
hetzner_server_number: xxxxxx
masters:
vars:
install_device: /dev/sda
network_dns: "213.133.98.98;213.133.99.99;213.133.100.100"
network_primary_interface: enp0s31f6
network_mask: 26
ignition_name: master.ign
hosts:
host01.example.com:
hetzner_ipv6: 2a01:4f8:171:3646::2
hetzner_server_number: xxxxxx
host02.example.com:
hetzner_ipv6: 2a01:4f8:171:3646::2
hetzner_server_number: xxxxxx
host03.example.com:
network_primary_interface: enp3s0
hetzner_ipv6: 2a01:4f8:171:3646::2
hetzner_server_number: xxxxxx
bootstrap:
vars:
install_device: /dev/sda
network_dns: "213.133.98.98;213.133.99.99;213.133.100.100"
network_primary_interface: enp0s31f6
network_mask: 26
ignition_name: bootstrap.ign
hosts:
host04.example.com:
hetzner_server_number: xxxxxx
hetzner_ipv6: 2a01:4f8:171:3646::2
routers:
vars:
hetzner_disk1: sda
hetzner_disk2: sdb
network_dns: "213.133.98.98;213.133.99.99;213.133.100.100"
network_mask: 26
ansible_user: operate-first
ansible_become: true
hosts:
morty-router-a.routers:
vars:
hetzner_disk1: sda
hetzner_disk2: sdb
network_dns: "213.133.98.98;213.133.99.99;213.133.100.100"
network_mask: 26
ansible_user: operate-first
ansible_become: true
hosts:
morty-router-a.example.com:
hetzner_server_number: xxxxxx
ansible_hostname: 46.4.65.162
internal_ip: 192.168.35.2
hetzner_ip: 46.4.65.162
network_gateway: 46.4.65.129
network_primary_interface: enp2s0:
ansible_hostname: 46.4.65.162
internal_ip: 192.168.35.2
hetzner_ip: 46.4.65.162
network_gateway: 46.4.65.129
network_primary_interface: enp2s0