forked from openshift/openshift-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.papr.inventory
41 lines (33 loc) · 1.45 KB
/
.papr.inventory
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
[OSEv3:children]
masters
nodes
etcd
[OSEv3:vars]
ansible_ssh_user=root
ansible_python_interpreter=/usr/bin/python3
openshift_deployment_type=origin
openshift_release="{{ lookup('env', 'target_branch') }}"
openshift_master_default_subdomain="{{ lookup('env', 'RHCI_ocp_node1_IP') }}.xip.io"
openshift_check_min_host_disk_gb=1.5
openshift_check_min_host_memory_gb=1.9
openshift_portal_net=172.30.0.0/16
debug_level=4
my_node_group1_labels=['node-role.kubernetes.io/master=true', 'node-role.kubernetes.io/infra=true']
my_node_group1={'name': 'node-config-infra-master', 'labels': {{ my_node_group1_labels }} }
my_node_group2_labels=['node-role.kubernetes.io/compute=true']
my_node_group2={'name': 'node-config-compute', 'labels': {{ my_node_group2_labels }} }
openshift_node_groups=[{{ my_node_group1 }}, {{ my_node_group2 }}]
[all:vars]
# bootstrap configs
openshift_master_bootstrap_auto_approve=true
openshift_master_bootstrap_auto_approver_node_selector={"node-role.kubernetes.io/master":"true"}
osm_controller_args={"experimental-cluster-signing-duration": ["20m"]}
osm_default_node_selector="node-role.kubernetes.io/compute=true"
[masters]
ocp-master
[etcd]
ocp-master
[nodes]
ocp-master openshift_schedulable=true openshift_node_group_name="node-config-infra-master"
ocp-node1 openshift_node_group_name="node-config-infra" openshift_node_group_name="node-config-compute"
ocp-node2 openshift_node_group_name="node-config-infra" openshift_node_group_name="node-config-compute"