blob: 78484fdbdb85130d74d6411808d6415465d9ed1b (
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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
---
# Variables that are commented in this file are optional; uncommented variables
# are mandatory.
# Default values for each variable are provided, as applicable.
# Example values for mandatory variables are provided as a comment at the end
# of the line.
# ------------------------ #
# Common/Cluster Variables #
# ------------------------ #
# Variables in this section affect all areas of the cluster
# Deployment type must be specified.
openshift_deployment_type: # 'origin' or 'openshift-enterprise'
# openshift_release must be specified. Use whatever version of openshift
# that is supported by openshift-ansible that you wish.
openshift_release: # v3.7
# This will be dependent on the version provided by the yum repository
openshift_pkg_version: # -3.7.0
# OpenShift api port
# Fulfills a chicken/egg scenario with how Ansible treats host inventory file
# and extra_vars. This is used for SecurityGroups, ELB Listeners as well as
# an override to installer inventory openshift_master_api_port key
# openshift_master_api_port: 8443
# specify a clusterid
# This value is also used as the default value for many other components.
#openshift_aws_clusterid: default
# AWS region
# This value will instruct the plays where all items should be created.
# Multi-region deployments are not supported using these plays at this time.
#openshift_aws_region: us-east-1
#openshift_aws_create_launch_config: true
#openshift_aws_create_scale_group: true
# --- #
# VPC #
# --- #
# openshift_aws_create_vpc defaults to true. If you don't wish to provision
# a vpc, set this to false.
#openshift_aws_create_vpc: true
# when openshift_aws_create_vpc is true (the default), the VPC defined in
# openshift_aws_vpc will be created
#openshift_aws_vpc:
# name: "{{ openshift_aws_vpc_name }}"
# cidr: 172.31.0.0/16
# subnets:
# us-east-1:
# - cidr: 172.31.48.0/20
# az: "us-east-1c"
# default_az: true
# - cidr: 172.31.32.0/20
# az: "us-east-1e"
# - cidr: 172.31.16.0/20
# az: "us-east-1a"
# Name of the vpc. Needs to be set if using a pre-existing vpc.
#openshift_aws_vpc_name: "{{ openshift_aws_clusterid }}"
# Name of the subnet in the vpc to use. Needs to be set if using a pre-existing
# vpc + subnet. Otherwise will use the subnet with 'default_az' set (see above
# example VPC structure)
#openshift_aws_subnet_az:
# -------------- #
# Security Group #
# -------------- #
# openshift_aws_create_security_groups defaults to true. If you wish to use
# an existing security group, set this to false.
#openshift_aws_create_security_groups: true
# openshift_aws_build_ami_group is the name of the security group to build the
# ami in. This defaults to the value of openshift_aws_clusterid.
#openshift_aws_build_ami_group: "{{ openshift_aws_clusterid }}"
# openshift_aws_launch_config_security_groups specifies the security groups to
# apply to the launch config. The launch config security groups will be what
# the cluster actually is deployed in.
#openshift_aws_launch_config_security_groups: see roles/openshift_aws/defaults.yml
# openshift_aws_node_security_groups are created when
# openshift_aws_create_security_groups is set to true.
#openshift_aws_node_security_groups: see roles/openshift_aws/defaults.yml
# -------- #
# ssh keys #
# -------- #
# Specify the key pair name here to connect to the provisioned instances. This
# can be an existing key, or it can be one of the keys specified in
# openshift_aws_users
openshift_aws_ssh_key_name: # myuser_key
# This will ensure these user and public keys are created.
#openshift_aws_users:
#- key_name: myuser_key
# username: myuser
# pub_key: |
# ssh-rsa AAAA
# When building the AMI, specify the user to ssh to the instance as.
# openshift_aws_build_ami_ssh_user: root
# --------- #
# AMI Build #
# --------- #
# Variables in this section apply to building a node AMI for use in your
# openshift cluster.
# openshift-ansible will perform the container runtime storage setup when specified
# The current storage setup with require a drive if using a separate storage device
# for the container runtime.
container_runtime_docker_storage_type: overlay2
container_runtime_docker_storage_setup_device: /dev/xvdb
# must specify a base_ami when building an AMI
openshift_aws_base_ami: # ami-12345678
# when creating an encrypted AMI please specify use_encryption
#openshift_aws_ami_encrypt: False
# -- #
# S3 #
# -- #
# Create an s3 bucket.
#openshift_aws_create_s3: True
# --- #
# ELB #
# --- #
# openshift_aws_elb_name will be the base-name of the ELBs.
#openshift_aws_elb_name: "{{ openshift_aws_clusterid }}"
# custom certificates are required for the ELB
openshift_aws_iam_cert_path: # '/path/to/wildcard.<clusterid>.example.com.crt'
openshift_aws_iam_cert_key_path: # '/path/to/wildcard.<clusterid>.example.com.key'
openshift_aws_iam_cert_chain_path: # '/path/to/cert.ca.crt'
|