-
Notifications
You must be signed in to change notification settings - Fork 500
/
Copy pathdefault_vars.yml
129 lines (112 loc) · 3.59 KB
/
default_vars.yml
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
---
bastion_student_show_user_info: true
################################################################################
################################################################################
### Environment Structure
################################################################################
################################################################################
## Environment Sizing
bastion_instance_type:
ec2: "t3.medium"
azure: Standard_A2_V2
osp: 2c2g30d
# Lookup images dynamically
# see infra-images role
node_instance_image:
owner: 309956199498
# Latest RHEL-7.5 GOLD image
name: RHEL-7.5*Access*
architecture: x86_64
aws_filters:
is-public: false
bastion_instance_image:
owner: 309956199498
# Latest RHEL-7.5 GOLD image
name: RHEL-7.5*Access*
architecture: x86_64
aws_filters:
is-public: false
node_instance_type:
ec2: "t3.medium"
azure: Standard_A2_V2
osp: 2c2g30d
# How many do you want for each instance type
node_instance_count: 1
# Environment Instances
instances:
- name: "bastion"
count: 1
unique: true
public_dns: true
dns_loadbalancer: false
image: "{{ bastion_instance_image }}"
flavor: "{{ bastion_instance_type }}"
tags:
- key: "AnsibleGroup"
value: "bastions"
- key: "ostype"
value: "linux"
- key: "instance_filter"
value: "{{ env_type }}-{{ email | default(requester_username, true) | default('unknownuser', true) }}"
volumes:
- name: '/dev/sda1'
size: 20
security_groups:
- BastionSG
- name: "node"
count: "{{node_instance_count}}"
public_dns: false
dns_loadbalancer: false
image: "{{ node_instance_image }}"
flavor: "{{ node_instance_type }}"
tags:
- key: "AnsibleGroup"
value: "nodes"
- key: "ostype"
value: "linux"
- key: "instance_filter"
value: "{{ env_type }}-{{ email | default(requester_username, true) | default('unknownuser', true) }}"
security_groups:
- DefaultSG
# Stuff that only GPTE cares about:
install_ipa_client: false
################################################################################
################################################################################
### Common Host settings
################################################################################
################################################################################
# Other Options are: file, satellite and rhn
#If using repo_method: satellite, you must set these values as well.
# satellite_url: satellite.example.com
# satellite_org: Sat_org_name
# satellite_activationkey: "rhel7basic"
repo_method: file
repo_version: "3.10"
# Do you want to run a full yum update
update_packages: false
common_packages:
- python
- unzip
- bash-completion
- tmux
- wget
- git
- vim-enhanced
- at
rhel_repos:
- rhel-7-server-rpms
- rhel-7-server-extras-rpms
- epel-release-latest-7
###V2WORK, these should just be set as default listed in the documentation
install_bastion: true
install_common: true
## SB Don't set software_to_deploy from here, always use extra vars (-e) or "none" will be used
#software_to_deploy: none
## guid is the deployment unique identifier, it will be appended to all tags,
## files and anything that identifies this environment from another.
# Using GUID is required, if it is not passed in the command line or uncommented
# here the deployment will fail
#guid: defaultguid
###V2WORK THIS SHOULD MOVE INTO THE ROLE
# This var is used to identify stack (cloudformation, azure resourcegroup, ...)
project_tag: "{{ env_type }}-{{ guid }}"