sborenst
2018-09-23 feca861a650503f7761ff3d226adb5540cad8e8c
removed unneeded variables
1 files deleted
30 files modified
1234 ■■■■ changed files
ansible/configs/ans-tower-lab/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ansible-cicd-lab/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ansible-provisioner/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/ans-network-lab/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/auth-playground-lab/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/generic-example/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/ocp-adv-deploy-hw/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/ocp-demo-lab/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/ocp-implementation-lab-2/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/ocp-implementation-lab/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/ocp-storage-cns_based_on_ocp-workshop/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/opentlc-shared/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/ravello-bastion-setup/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/ravello-test/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/archive/single-ipa/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/bu-workshop/env_vars.yml 2 ●●● patch | view | raw | blame | history
ansible/configs/ocp-clientvm/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ocp-gpu-single-node/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ocp-ha-disconnected-lab/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ocp-ha-lab/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ocp-implementation-lab/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ocp-multi-cloud-example/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ocp-storage-cns/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ocp-workshop/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/quay-enterprise/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/rhte-lb/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/rhte-oc-cluster-vms/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/rhte-ocp-workshop/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/simple-multi-cloud-example/env_vars.yml 328 ●●●●● patch | view | raw | blame | history
ansible/configs/simple-multi-cloud-example/files/cloud_providers/ec2_cloud_template_json.j2 792 ●●●●● patch | view | raw | blame | history
ansible/configs/three-tier-app/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/ans-tower-lab/env_vars.yml
@@ -382,10 +382,10 @@
#   - nexus2
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
cloudapps_dns: '*.apps.{{subdomain_base}}.'
tower_public_dns: "towerlb.{{subdomain_base}}."
ansible/configs/ansible-cicd-lab/env_vars.yml
@@ -217,10 +217,10 @@
#   - nexus
#   - nexus2
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
frontend_public_dns: "frontendlb.{{subdomain_base}}."
#tower_public_dns: "tower.{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
ansible/configs/ansible-provisioner/env_vars.yml
@@ -100,10 +100,10 @@
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
provisioner_public_dns_chomped: "admin.{{subdomain_base}}"
vpcid_name_tag: "{{subdomain_base}}"
ansible/configs/archive/ans-network-lab/env_vars.yml
@@ -185,10 +185,10 @@
#   - nexus2
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
router_public_dns: "routerlb.{{subdomain_base}}."
#tower_public_dns: "tower.{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
ansible/configs/archive/auth-playground-lab/env_vars.yml
@@ -169,10 +169,10 @@
#   - nexus2
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
cloudapps_dns: '*.apps.{{subdomain_base}}.'
ipa_public_dns: "ipa1.{{subdomain_base}}."
ansible/configs/archive/generic-example/env_vars.yml
@@ -115,10 +115,10 @@
#   - nexus2
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
cloudapps_dns: '*.apps.{{subdomain_base}}.'
publichost_public_dns: "publichostlb.{{subdomain_base}}."
ansible/configs/archive/ocp-adv-deploy-hw/env_vars.yml
@@ -158,10 +158,10 @@
docker_version: "{{ '1.12.6' if repo_version | version_compare('3.9', '<')  else '1.13.1' }}"
docker_device: /dev/xvdb
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
ansible/configs/archive/ocp-demo-lab/env_vars.yml
@@ -154,10 +154,10 @@
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
cloudapps_dns: '*.apps.{{subdomain_base}}.'
master_public_dns: "master.{{subdomain_base}}."
ansible/configs/archive/ocp-implementation-lab-2/env_vars.yml
@@ -170,10 +170,10 @@
# docker_version: "1.12.6"
# docker_device: /dev/xvdb
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
ansible/configs/archive/ocp-implementation-lab/env_vars.yml
@@ -170,10 +170,10 @@
# docker_version: "1.12.6"
# docker_device: /dev/xvdb
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
ansible/configs/archive/ocp-storage-cns_based_on_ocp-workshop/env_vars.yml
@@ -294,10 +294,10 @@
### CLOUDFORMATIONS vars
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
cloudapps_record: '*.apps'
cloudapps_dns: '{{cloudapps_record}}.{{subdomain_base}}.'
ansible/configs/archive/opentlc-shared/env_vars.yml
@@ -182,10 +182,10 @@
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: true
zone_internal_dns: "{{env_type}}.{{guid}}.internal."
chomped_zone_internal_dns: "{{env_type}}.{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
cloudapps_dns: '*.cloudapps.{{subdomain_base}}.'
master_public_dns: "master.{{subdomain_base}}."
ansible/configs/archive/ravello-bastion-setup/env_vars.yml
@@ -101,10 +101,10 @@
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
ipa_public_dns_chomped: "ipa.{{subdomain_base}}"
vpcid_cidr_block: "192.168.0.0/16"
ansible/configs/archive/ravello-test/env_vars.yml
@@ -97,10 +97,10 @@
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
ipa_public_dns_chomped: "ipa.{{subdomain_base}}"
vpcid_cidr_block: "192.168.0.0/16"
ansible/configs/archive/single-ipa/env_vars.yml
@@ -90,10 +90,10 @@
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
ipa_public_dns_chomped: "ipa.{{subdomain_base}}"
vpcid_cidr_block: "192.168.0.0/16"
ansible/configs/bu-workshop/env_vars.yml
@@ -104,7 +104,7 @@
project_tag: "{{ env_type }}-{{ guid }}"
zone_internal_dns: "internal.{{ subdomain_base }}."
zone_public_dns: "{{ subdomain_base }}."
cloudapps_dns: '*.cloudapps.{{ subdomain_base }}.'
master_public_dns: "master.{{ subdomain_base }}."
ansible/configs/ocp-clientvm/env_vars.yml
@@ -114,10 +114,10 @@
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: false
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
ansible/configs/ocp-gpu-single-node/env_vars.yml
@@ -276,10 +276,10 @@
### CLOUDFORMATIONS vars
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
cloudapps_record: '*.apps'
cloudapps_dns: '{{cloudapps_record}}.{{subdomain_base}}.'
ansible/configs/ocp-ha-disconnected-lab/env_vars.yml
@@ -175,10 +175,10 @@
docker_version: "{{ '1.12.6' if repo_version | version_compare('3.9', '<')  else '1.13.1' }}"
docker_device: /dev/xvdb
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
ansible/configs/ocp-ha-lab/env_vars.yml
@@ -168,10 +168,10 @@
docker_version: "{{ '1.12.6' if repo_version | version_compare('3.9', '<')  else '1.13.1' }}"
docker_device: /dev/xvdb
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
ansible/configs/ocp-implementation-lab/env_vars.yml
@@ -162,10 +162,10 @@
docker_version: "{{ '1.12.6' if repo_version | version_compare('3.9', '<')  else '1.13.1' }}"
docker_device: /dev/xvdb
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
ansible/configs/ocp-multi-cloud-example/env_vars.yml
@@ -492,10 +492,10 @@
### CLOUDFORMATIONS vars
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
cloudapps_record: '*.apps'
cloudapps_dns: '{{cloudapps_record}}.{{subdomain_base}}.'
ansible/configs/ocp-storage-cns/env_vars.yml
@@ -160,10 +160,10 @@
docker_version: "{{ '1.12.6' if repo_version | version_compare('3.9', '<')  else '1.13.1' }}"
docker_device: /dev/xvdb
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
ansible/configs/ocp-workshop/env_vars.yml
@@ -316,10 +316,10 @@
### CLOUDFORMATIONS vars
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
cloudapps_record: '*.apps'
cloudapps_dns: '{{cloudapps_record}}.{{subdomain_base}}.'
ansible/configs/quay-enterprise/env_vars.yml
@@ -126,10 +126,10 @@
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: false
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
ansible/configs/rhte-lb/env_vars.yml
@@ -89,10 +89,10 @@
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: false
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
ansible/configs/rhte-oc-cluster-vms/env_vars.yml
@@ -102,10 +102,10 @@
project_tag: "{{ env_type }}-{{ guid }}"
create_internal_dns_entries: false
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
ansible/configs/rhte-ocp-workshop/env_vars.yml
@@ -320,10 +320,10 @@
### CLOUDFORMATIONS vars
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
cloudapps_record: '*.apps'
cloudapps_dns: '{{cloudapps_record}}.{{subdomain_base}}.'
ansible/configs/simple-multi-cloud-example/env_vars.yml
@@ -1,65 +1,133 @@
## 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.
################################################################################
################################################################################
### Environment Structure
################################################################################
################################################################################
## Environment Sizing
### Vars that can be removed:
# use_satellite: true
# use_subscription_manager: false
# use_own_repos: false
bastion_instance_type:
  ec2: "t2.medium"
  azure: Standard_A2_V2
###### VARIABLES YOU SHOULD CONFIGURE FOR YOUR DEPLOYEMNT
###### OR PASS as "-e" args to ansible-playbook command
node_instance_type:
  ec2: "t2.medium"
  azure: Standard_A2_V2
# 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
    flavor: "{{bastion_instance_type}}"
    tags:
      - key: "AnsibleGroup"
        value: "bastions"
      - key: "ostype"
        value: "linux"
      - key: "instance_filter"
        value: "{{ env_type }}-{{ email }}"
    rootfs_size: 20
  - name: "node"
    count: "{{node_instance_count}}"
    public_dns: true
    dns_loadbalancer: false
    flavor: "{{bastion_instance_type}}"
    tags:
      - key: "AnsibleGroup"
        value: "nodes"
      - key: "ostype"
        value: "linux"
      - key: "instance_filter"
        value: "{{ env_type }}-{{ email }}"
# DNS settings for environmnet
subdomain_base_short: "{{ guid }}"
subdomain_base_suffix: ".example.opentlc.com"
subdomain_base: "{{subdomain_base_short}}{{subdomain_base_suffix}}"
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
# Stuff that only GPTE cares about:
install_ipa_client: false
################################################################################
################################################################################
### Common Host settings
repo_method: file # Other Options are: file, satellite and rhn
# Do you want to run a full yum update
update_packages: false
################################################################################
################################################################################
# Other Options are: file, satellite and rhn
#If using repo_method: satellite, you must set these values as well.
# satellite_url: https://satellite.example.com
# satellite_org: Sat_org_name
# satellite_activationkey: "rhel7basic"
## 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"
guid: defaultguid
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
# This var is used to identify stack (cloudformation, azure resourcegroup, ...)
project_tag: "{{ env_type }}-{{ guid }}"
rhel_repos:
  - rhel-7-server-rpms
  - rhel-7-server-extras-rpms
  - epel-release-latest-7
# 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: "{{ANSIBLE_REPO_PATH}}/workdir"
###V2WORK, these should just be set as default listed in the documentation
install_bastion: true
install_common: true
software_to_deploy: none
repo_version: "3.6"
## 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: "{{ANSIBLE_REPO_PATH}}/workdir"
### 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"
# This varialbe is no longer needed.
ansible_ssh_private_key_file: ~/.ssh/{{key_name}}.pem
set_env_authorized_key: true
# Is this running from Red Hat Ansible Tower
tower_run: false
### Azure
################################################################################
################################################################################
### Azure Specific Variables
################################################################################
################################################################################
# Create a dedicated resourceGroup for this deployment
az_destroy_method: resource_group
az_resource_group: "{{ project_tag }}"
@@ -69,7 +137,15 @@
#az_destroy_method: deployment
#az_resource_group: my-shared-resource-group
### AWS EC2 Environment settings
###V2WORK THIS SHOULD MOVE INTO THE ROLE
# This var is used to identify stack (cloudformation, azure resourcegroup, ...)
project_tag: "{{ env_type }}-{{ guid }}"
################################################################################
################################################################################
### AWS EC2 Specific Variables
################################################################################
################################################################################
### Route 53 Zone ID (AWS)
# This is the Route53 HostedZoneId where you will create your Public DNS entries
@@ -77,175 +153,11 @@
HostedZoneId: Z3IHLWJZOU9SRT
# The region to be used, if not specified by -e in the command line
aws_region: ap-southeast-2
# The key that is used to
key_name: "default_key_name"
# The key that is used to connect to the AWS instance initially, it should
# exist in your aws account and the private key should exist on the local machine
# you are provisioning from.
#key_name: "default_key_name"
## Networking (AWS)
subdomain_base_short: "{{ guid }}"
subdomain_base_suffix: ".example.opentlc.com"
subdomain_base: "{{subdomain_base_short}}{{subdomain_base_suffix}}"
## Environment Sizing
bastion_instance_type: "t2.medium"
frontend_instance_type: "t2.small"
app_instance_type: "{{frontend_instance_type}}"
appdb_instance_type: "{{frontend_instance_type}}"
support_instance_type: "t2.small"
frontend_instance_count: 1
app_instance_count: 2
appdb_instance_count: 1
support_instance_count: 1
rootfs_size_bastion: 50
instances:
  - name: "bastion"
    count: 1
    unique: true
    public_dns: true
    dns_loadbalancer: true
    flavor:
      ec2: "{{bastion_instance_type}}"
      azure: Standard_A2_V2
    tags:
      - key: "AnsibleGroup"
        value: "bastions"
      - key: "ostype"
        value: "linux"
      - key: "instance_filter"
        value: "{{ env_type }}-{{ email }}"
    rootfs_size: "{{ rootfs_size_bastion }}"
  - name: "frontend"
    count: "{{frontend_instance_count}}"
    public_dns: true
    dns_loadbalancer: true
    flavor:
      ec2: "{{frontend_instance_type}}"
      azure: "Standard_A2_V2"
    tags:
      - key: "AnsibleGroup"
        value: "frontends"
      - key: "ostype"
        value: "linux"
      - key: "instance_filter"
        value: "{{ env_type }}-{{ email }}"
  - name: "app"
    count: "{{app_instance_count}}"
    public_dns: true
    flavor:
      ec2: "{{app_instance_type}}"
      azure: "Standard_A2_V2"
    tags:
      - key: "AnsibleGroup"
        value: "apps"
      - key: "ostype"
        value: "rhel"
      - key: "instance_filter"
        value: "{{ env_type }}-{{ email }}"
    key_name: "{{key_name}}"
  - name: "appdb"
    count: "{{appdb_instance_count}}"
    public_dns: true
    flavor:
      ec2: "{{appdb_instance_type}}"
      azure: "Standard_A2_V2"
    tags:
      - key: "AnsibleGroup"
        value: "appdbs"
      - key: "ostype"
        value: "rhel"
      - key: "instance_filter"
        value: "{{ env_type }}-{{ email }}"
    key_name: "{{key_name}}"
  - name: "support"
    count: "{{support_instance_count}}"
    public_dns: true
    flavor:
      ec2: "{{support_instance_type}}"
      azure: "Standard_A2_V2"
    tags:
      - key: "AnsibleGroup"
        value: "support"
      - key: "ostype"
        value: "rhel"
      - key: "instance_filter"
        value: "{{ env_type }}-{{ email }}"
    key_name: "{{key_name}}"
###### VARIABLES YOU SHOULD ***NOT*** CONFIGURE FOR YOUR DEPLOYEMNT
###### You can, but you usually wouldn't need to.
ansible_ssh_user: ec2-user
remote_user: ec2-user
common_packages:
  - python
  - unzip
  - bash-completion
  - tmux
  - bind-utils
  - wget
  - git
  - vim-enhanced
  - at
  - ansible
rhel_repos:
  - rhel-7-server-rpms
  - rhel-7-server-extras-rpms
  - epel-release-latest-7
## Currently there is no NFS created for this Environment - See ocp-workshop for clues.
# ## NFS Server settings
# nfs_vg: nfsvg
# nfs_pvs: /dev/xvdb
# nfs_export_path: /srv/nfs
#
# nfs_shares:
#   - es-storage
#   - user-vols
#   - jenkins
#   - nexus
#   - nexus2
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
frontend_public_dns: "frontendlb.{{subdomain_base}}."
#tower_public_dns: "tower.{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."
bastion_public_dns_chomped: "bastion.{{subdomain_base}}"
vpcid_cidr_block: "192.168.0.0/16"
vpcid_name_tag: "{{subdomain_base}}"
az_1_name: "{{ aws_region }}a"
az_2_name: "{{ aws_region }}b"
subnet_private_1_cidr_block: "192.168.2.0/24"
subnet_private_1_az: "{{ az_2_name }}"
subnet_private_1_name_tag: "{{subdomain_base}}-private"
subnet_private_2_cidr_block: "192.168.1.0/24"
subnet_private_2_az: "{{ az_1_name }}"
subnet_private_2_name_tag: "{{subdomain_base}}-private"
subnet_public_1_cidr_block: "192.168.10.0/24"
subnet_public_1_az: "{{ az_1_name }}"
subnet_public_1_name_tag: "{{subdomain_base}}-public"
subnet_public_2_cidr_block: "192.168.20.0/24"
subnet_public_2_az: "{{ az_2_name }}"
subnet_public_2_name_tag: "{{subdomain_base}}-public"
dopt_domain_name: "{{ aws_region }}.compute.internal"
rtb_public_name_tag: "{{subdomain_base}}-public"
rtb_private_name_tag: "{{subdomain_base}}-private"
cf_template_description: "{{ env_type }}-{{ guid }} Ansible Agnostic Deployer "
###V2WORK THIS SHOULD MOVE INTO THE ROLE
# This var is used to identify stack (cloudformation, azure resourcegroup, ...)
project_tag: "{{ env_type }}-{{ guid }}"
ansible/configs/simple-multi-cloud-example/files/cloud_providers/ec2_cloud_template_json.j2
File was deleted
ansible/configs/three-tier-app/env_vars.yml
@@ -213,10 +213,10 @@
#   - nexus
#   - nexus2
create_internal_dns_entries: true
zone_internal_dns: "{{guid}}.internal."
chomped_zone_internal_dns: "{{guid}}.internal"
zone_public_dns: "{{subdomain_base}}."
frontend_public_dns: "frontendlb.{{subdomain_base}}."
#tower_public_dns: "tower.{{subdomain_base}}."
bastion_public_dns: "bastion.{{subdomain_base}}."