forked from christian-posta/openshift-terraform-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-inventory
38 lines (29 loc) · 1.64 KB
/
example-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
# Create an OSEv3 group that contains the masters and nodes groups
[OSEv3:children]
masters
nodes
# Set variables common for all OSEv3 hosts
[OSEv3:vars]
# SSH user, this user should allow ssh based auth without requiring a password
ansible_ssh_user=ec2-user
# If ansible_ssh_user is not root, ansible_sudo must be set to true
ansible_sudo=true
product_type=openshift
deployment_type=origin
#openshift_pkg_version=-1.0.4
#openshift_pkg_version=-3.0.1.0
openshift_master_cluster_public_hostname=master.fuse.osecloud.com
# uncomment the following to enable htpasswd authentication; defaults to DenyAllPasswordIdentityProvider
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/openshift-passwd'}]
osm_default_subdomain=apps.fuse.osecloud.com
# host group for masters
[masters]
ec2-54-226-239-139.compute-1.amazonaws.com openshift_public_hostname=master.fuse.osecloud.com
# host group for nodes, includes region info
[nodes]
ec2-54-226-239-139.compute-1.amazonaws.com openshift_node_labels="{'region': 'infra', 'zone': 'default'}"
ec2-54-234-236-240.compute-1.amazonaws.com openshift_node_labels="{'region': 'primary', 'zone': 'east'}"
ec2-54-159-17-227.compute-1.amazonaws.com openshift_node_labels="{'region': 'primary', 'zone': 'east'}"
ec2-54-221-31-162.compute-1.amazonaws.com openshift_node_labels="{'region': 'primary', 'zone': 'east'}"
ec2-54-242-180-2.compute-1.amazonaws.com openshift_node_labels="{'region': 'primary', 'zone': 'east'}"
ec2-107-20-19-225.compute-1.amazonaws.com openshift_node_labels="{'region': 'primary', 'zone': 'east'}"