-
Notifications
You must be signed in to change notification settings - Fork 524
Expand file tree
/
Copy pathdefault_vars.yml
More file actions
129 lines (100 loc) · 3.4 KB
/
default_vars.yml
File metadata and controls
129 lines (100 loc) · 3.4 KB
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
---
# default vars for base-infra
# See README.adoc for full details
env_type: base-infra
output_dir: "/tmp/output_dir/{{ guid }}" # Writable working scratch directory
project_tag: "{{ env_type }}-{{ guid }}" # This var is used to identify stack (cloudformation, azure resourcegroup, ...)
cloud_provider: ec2 # Default to AWS
email: "{{ env_type }}@opentlc.com"
guid: "{{ env_type }}-01"
uuid: "{{ guid }}"
# Dump inventories to output_dir - very useful as a dev -i option
agnosticd_inventory_exporter_enable: true # Dump inventory in output_dir
ansible_devops_user_ssh_config: ./files/ssh_config.j2
# TODO: Get rid of this ^^^ after validating nothing useful is done
# Software payload section - outmoded pattern
software_to_deploy: none
# Workloads should be specified in the appropriate var targeting the stage.
# The format for each is a list with role name, hosts, and optional vars
#
# Workload roles use the ACTION var do determine whether they should
# perform provision, start, stop, or destroy.
#
# If vars are included then those will be set with set_fact before the role
# is called. This allows the same role to be called repeatedly on the same
# or different hosts with different variables.
#
# Example:
#
# post_infra_workloads:
# # Provsision a VM, add host to inventory
# - name: mitzi_vm
# hosts: localhost
#
# # Configure software on bastion VM
# software_workloads:
# - name: mitzi_software
# hosts: bastion
#
# # Start the VM, then check software state
# start_workloads:
# - name: mitzi_vm
# hosts: localhost
# - name: mitzi_software
# hosts: bastion
#
# # Shutdown the VM
# stop_workloads:
# - name: mitzi_vm
# hosts: localhost
# - name: mitzi_software
# hosts: bastion
#
pre_infra_workloads: []
post_infra_workloads: []
pre_software_workloads: []
software_workloads: []
post_software_workloads: []
# Setup inventory group for AAP2 Automation controller bastion
# load-balancers, app_servers, database_servers may be discarded
# in future iterations (update default_vars_<CLOUD_PROVIDER> as well
# Option to reset the rhsm.conf file to default after deployment
reset_rhsm_conf: false
### Common Host settings
# FTL Settings
install_ftl: false
ftl_use_python3: true
# install_bastion: true
agd_install_bastion_base: true
agd_install_common: true
# 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
# agd_set_env_authorized_key: true
set_env_authorized_key: true #"{{ agd_set_env_authorized_key }}" # Role should default this
env_authorized_key: "{{ guid }}key"
ansible_ssh_private_key_file: ~/.ssh/{{ env_authorized_key }}.pem
ansible_service_account_user_ssh_config: ssh_config.j2
# TODO: Same for RHEL9 needed
use_content_view: true
common_packages_el8:
- bash-completion
- bind-utils
- python3.9
- vim-enhanced
update_packages: true # Do you want to run a full yum update
agd_bastion_packages:
- at
- bash-completion
- bind-utils
- git
- python3.9
- python3-devel
- tree
- vim-enhanced
- wget
- zsh
student_name: "{{ requester_username | default('lab-user') }}"