forked from redhat-cop/agnosticd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault_vars.yml
128 lines (108 loc) · 3.85 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
---
################################################################################
################################################################################
### Environment Structure
################################################################################
################################################################################
## Environment Sizing
bastion_instance_type:
ec2: "t2.medium"
azure: Standard_A2_V2
osp: 2c2g30d
bastion_instance_image: RHEL75
node_instance_type:
ec2: "t2.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 }}"
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 }}"
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, these should just be set as default listed in the documentation
# This is where the ssh_config file will be created, this file is used to
# define the communication method to all the hosts in the deployment
deploy_local_ssh_config_location: "{{output_dir}}/"
### If you want a Key Pair name created and injected into the hosts,
# set `set_env_authorized_key` to true and set the keyname in `env_authorized_key`
# you can use the key used to create the environment or use your own self generated key
# if you set "use_own_key" to false your PRIVATE key will be copied to the bastion. (This is {{key_name}})
###V2WORK, these should just be set as default listed in the documentation
use_own_key: true
env_authorized_key: "{{guid}}key"
set_env_authorized_key: true
###V2WORK THIS SHOULD MOVE INTO THE ROLE
# This var is used to identify stack (cloudformation, azure resourcegroup, ...)
project_tag: "{{ env_type }}-{{ guid }}"