commit | author | age
|
b81386
|
1 |
###### VARIABLES YOU SHOULD CONFIGURE FOR YOUR DEPLOYEMNT |
WK |
2 |
###### OR PASS as "-e" args to ansible-playbook command |
|
3 |
|
|
4 |
## guid is the deployment unique identifier, it will be appended to all tags, |
|
5 |
## files and anything that identifies this environment from another "just like it" |
|
6 |
guid: defaultguid |
|
7 |
|
|
8 |
# Project Tag for all generated resources |
|
9 |
project_tag: "{{ env_type }}-{{ guid }}" |
|
10 |
|
|
11 |
# osrelease determines if the OCP3 or OCP4 ClientVM is installed. |
|
12 |
# osrelease >=4.0 ==> OCP 4, osrelease < 4.0 ==> OCP 3 |
|
13 |
# osrelease also determins which RHEL Repos to use |
|
14 |
# Specific tool versions can be set to override the default |
|
15 |
osrelease: '4.3.0' |
|
16 |
repo_version: '4.3' |
|
17 |
|
94ec21
|
18 |
# Ruby and 3scale ToolBox gem is installed. |
S |
19 |
install_ruby: false |
|
20 |
install_3scale: false |
|
21 |
|
b81386
|
22 |
# Software Versions: |
WK |
23 |
# Specified in ocp-client-vm role defaults. Can be overridden with specific |
|
24 |
# versions if necessary |
a40023
|
25 |
# https://mirror.openshift.com/pub/openshift-v4/clients/ocp/ |
b81386
|
26 |
ocp_clientvm_oc_version: "{{ osrelease }}" |
WK |
27 |
# ocp_clientvm_oc_version: '4.3.0' |
|
28 |
# ocp_clientvm_oc_version: '3.11.154' |
|
29 |
|
|
30 |
# OpenShift 4 specific software (only installed when Client Version >= 4.0) |
a40023
|
31 |
# https://mirror.openshift.com/pub/openshift-v4/clients/odo/ |
b81386
|
32 |
# ocp_clientvm_odo_version: 'v1.1.0' |
a40023
|
33 |
# https://mirror.openshift.com/pub/openshift-v4/clients/helm/ |
b81386
|
34 |
# ocp_clientvm_helm_version: 'v3.0.0' |
a40023
|
35 |
# https://github.com/tektoncd/cli/releases (without 'v') |
b81386
|
36 |
# ocp_clientvm_tkn_version: '0.6.0' |
a40023
|
37 |
# https://github.com/knative/client/releases |
WK |
38 |
# ocp_clientvm_kn_version: 'v0.12.0' |
b81386
|
39 |
|
WK |
40 |
# Supplemental Software |
|
41 |
# Specified in ocp-client-vm role defaults. Can be overridden. |
a40023
|
42 |
# https://github.com/istio/istio/releases |
e8f000
|
43 |
# ocp_clientvm_istioctl_version: '1.1.17' |
a40023
|
44 |
# https://maven.apache.org/download.cgi |
WK |
45 |
# (needs to be in gpte-public S3 bucket to prevent download errors) |
|
46 |
# ocp_clientvm_maven_version: '3.6.3' |
b81386
|
47 |
|
WK |
48 |
# Docker version and settings |
|
49 |
docker_version: '1.13.1' |
|
50 |
docker_size: '200' |
|
51 |
|
|
52 |
# The next flag is 1 by default. If it is set to more than 1 then instead of creating |
|
53 |
# clientvm.guid.baseurl it will create clientvm{1..num_users}.guid.baseurl |
|
54 |
num_users: 1 |
|
55 |
|
|
56 |
install_bastion: true |
|
57 |
install_common: true |
|
58 |
install_opentlc_integration: true |
|
59 |
install_ipa_client: false |
|
60 |
|
|
61 |
# Install a user id 'student'. If install_student_user=true then a global variable |
|
62 |
# student_password=password needs to be provided with the password to set for the user student |
|
63 |
install_student_user: false |
e8f000
|
64 |
|
WK |
65 |
# FTL is used for grading and solving. It will pull in the external ftl-injector role. |
|
66 |
# This might be enabled when we have solvers to run or graders for ILT |
|
67 |
# Define the FTL Injector Tag |
|
68 |
ftl_injector_tag: "v0.17.0" |
|
69 |
ftl_use_python3: true |
b81386
|
70 |
|
WK |
71 |
### If you want a Key Pair name created and injected into the hosts, |
|
72 |
# set `set_env_authorized_key` to true and set the keyname in `env_authorized_key` |
|
73 |
# you can use the key used to create the environment or use your own self generated key |
|
74 |
# if you set "use_own_key" to false your PRIVATE key will be copied to the bastion. (This is {{key_name}}) |
|
75 |
|
|
76 |
use_own_key: true |
|
77 |
env_authorized_key: "{{guid}}key" |
|
78 |
key_name: "default_key_name" |
|
79 |
ansible_ssh_private_key_file: ~/.ssh/{{key_name}}.pem |
|
80 |
set_env_authorized_key: true |
|
81 |
|
|
82 |
# Is this running from Red Hat Ansible Tower |
|
83 |
tower_run: false |
|
84 |
|
|
85 |
### Common Host settings |
2158c5
|
86 |
# If you are doing RHEL 8 client VM, you must use the satellite method |
NS |
87 |
# Other Options are: file, satellite, and rhn |
|
88 |
repo_method: file |
b81386
|
89 |
|
WK |
90 |
# Do you want to run a full yum update |
|
91 |
update_packages: true |
|
92 |
|
|
93 |
#If using repo_method: satellite, you must set these values as well. |
|
94 |
# satellite_url: satellite.example.com |
|
95 |
# satellite_org: Sat_org_name |
|
96 |
# satellite_activationkey: "rhel7basic" |
|
97 |
|
2158c5
|
98 |
# If you are doing RHEL 8, you must set these values |
NS |
99 |
# satellite_url |
|
100 |
# satellite_key |
|
101 |
# satellite_cert |
|
102 |
|
|
103 |
# Packages to install for RHEL 7 |
b81386
|
104 |
common_packages: |
WK |
105 |
- unzip |
|
106 |
- bash-completion |
|
107 |
- tmux |
|
108 |
- bind-utils |
|
109 |
- wget |
|
110 |
- nano |
|
111 |
- ansible |
|
112 |
- git |
|
113 |
- vim-enhanced |
e8f000
|
114 |
- httpd-tools |
WK |
115 |
- openldap-clients |
|
116 |
- podman |
|
117 |
- tree |
b81386
|
118 |
|
2158c5
|
119 |
# Packages to install for RHEL 8 |
NS |
120 |
common_packages_el8: |
|
121 |
- python3 |
|
122 |
- unzip |
|
123 |
- bash-completion |
|
124 |
- tmux |
|
125 |
- bind-utils |
|
126 |
- wget |
|
127 |
- nano |
|
128 |
- git |
|
129 |
- vim-enhanced |
|
130 |
- httpd-tools |
|
131 |
- openldap-clients |
|
132 |
- podman |
|
133 |
- tree |
|
134 |
|
|
135 |
# Which RHEL Repos to enable on RHEL 7. |
b81386
|
136 |
rhel_repos: |
WK |
137 |
- rhel-7-server-rpms |
|
138 |
- rhel-7-server-extras-rpms |
|
139 |
- rhel-7-server-ansible-2.8-rpms |
|
140 |
|
|
141 |
cloud_tags: |
|
142 |
env_type: "{{ env_type }}" |
|
143 |
guid: "{{ guid }}" |
|
144 |
course_name: "{{ course_name | d('unknown') }}" |
|
145 |
platform: "{{ platform | d('unknown') }}" |