forked from redhat-cop/agnosticd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_vars.yml
100 lines (80 loc) · 2.93 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
---
## TODO: What variables can we strip out of here to build complex variables?
## i.e. what can we add into group_vars as opposed to config_vars?
## Example: We don't really need "subdomain_base_short". If we want to use this,
## should just toss in group_vars/all.
### Also, we should probably just create a variable reference in the README.md
### For now, just tagging comments in line with configuration file.
env_type: three-tier-app
output_dir: /tmp/workdir # Writable working scratch directory
email: "{{ env_type }}@example.com"
guid: defaultguid
lab_user: devops # Ansible Service Account
###### VARIABLES YOU SHOULD CONFIGURE FOR YOUR DEPLOYEMNT
###### OR PASS as "-e" args to ansible-playbook command
### Common Host settings
# FTL Settings
install_ftl: true
ftl_use_python3: true
# Login Settings
install_ipa_client: false
install_student_user: true
student_name: lab-user
# Do you want to run a full yum update
update_packages: false
## guid is the deployment unique identifier, it will be appended to all tags,
## files and anything that identifies this environment from another "just like it"
# This var is used to identify stack (cloudformation, azure resourcegroup, ...)
project_tag: "{{ env_type }}-{{ guid }}"
install_bastion: true
install_common: true
### 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
env_authorized_key: "{{ guid }}key"
set_env_authorized_key: true
# Is this running from Red Hat Ansible Tower
tower_run: false
### Azure
# Create a dedicated resourceGroup for this deployment
az_destroy_method: resource_group
az_resource_group: "{{ project_tag }}"
# you can operate differently: if you share on resourceGroup for all you deployments,
# you can specify a different resourceGroup and method:
#az_destroy_method: deployment
#az_resource_group: my-shared-resource-group
###### VARIABLES YOU SHOULD ***NOT*** CONFIGURE FOR YOUR DEPLOYEMNT
###### You can, but you usually wouldn't need to.
ansible_user: ec2-user
remote_user: ec2-user
common_packages:
- python
- unzip
- bash-completion
- tmux
- bind-utils
- wget
- git
- vim-enhanced
- at
- ansible
### Vars that can be removed:
# use_satellite: true
# use_subscription_manager: false
# use_own_repos: false
#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"
# Other Options are: file, satellite and rhn
repo_method: file
repo_version: 3.7.0-4
rhel_repos:
- rhel-7-server-rpms
- rhel-7-server-rh-common-rpms
- rhel-7-server-extras-rpms
- rhel-7-server-optional-rpms
- rhel-server-rhscl-7-rpms
- rhel-7-server-ansible-2.9-rpms
cf_template_description: "{{ env_type }}-{{ guid }} Ansible Agnostic Deployer "
...