add 'owner' tag on ec2 instances (cloudformation templates)
- ans-tower-lab
- bu-workshop
- ocp-demo-lab
- ocp-ha-lab
- ocp-workshop
- three-tier-app
| | |
| | | -e "cloud_provider=${CLOUDPROVIDER}" \ |
| | | -e "aws_region=${REGION}" \ |
| | | -e "HostedZoneId=${HOSTZONEID}" \ |
| | | -e "email=name@example.com" \ |
| | | -e "install_ipa_client=false" \ |
| | | -e "repo_method=file" -e "own_repo_path=${REPO_PATH}" -e "repo_version=${REPO_VERSION}" \ |
| | | -e "software_to_deploy=none" |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "bastion.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ] |
| | | } |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "tower{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "frontend{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "app{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "appdb{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "windows{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "support{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "master" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "infranode" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "node", |
| | | "PropagateAtLaunch": true |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "VPCZoneIdentifier": [ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "support" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "bastion" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ] |
| | | } |
| | |
| | | { |
| | | "Key": "Project", |
| | | "Value": "{{ project_tag }}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ] |
| | | } |
| | |
| | | -e "guid=${GUID}" -e "env_type=${ENVTYPE}" -e "cloud_provider=${CLOUDPROVIDER}" \ |
| | | -e "aws_region=${REGION}" -e "HostedZoneId=${HOSTZONEID}" -e "key_name=${KEYNAME}" \ |
| | | -e "subdomain_base_suffix=${BASESUFFIX}" -e "install_idm=htpasswd" \ |
| | | -e "email=name@example.com" \ |
| | | -e "node_instance_count=${NODE_COUNT}" -e "infranode_instance_count=1" -e "master_instance_count=1" \ |
| | | -e "software_to_deploy=none" -e "own_repo_path=${REPO_PATH}" -e "ipa_host_password=${IPAPASS}" \ |
| | | -e "tower_run=false" |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "bastion" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ] |
| | | } |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "master" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "node" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "infranode" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "support" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "Project", |
| | | "Value": "{{project_tag}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ] |
| | | } |
| | |
| | | -e "infranode_instance_type=t2.large" -e "node_instance_type=t2.large" \ |
| | | -e "support_instance_type=t2.medium" -e "node_instance_count=${NODE_COUNT}" \ |
| | | -e "ipa_host_password=${IPAPASS}" -e "install_idm=htpasswd" \ |
| | | -e "email=name@example.com" \ |
| | | -e "repo_method=file" -e "own_repo_path=${REPO_PATH}" -e "repo_version=${REPO_VERSION}" \ |
| | | -e "software_to_deploy=openshift" -e "osrelease=3.5.5.15" -e "docker_version=1.12.6" \ |
| | | -e "ANSIBLE_REPO_PATH=${DEPLOYER_REPO_PATH}" \ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "bastion" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "loadbalancer" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ] |
| | | } |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "master" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "node" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "infranode" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "{{ project_tag }}", |
| | | "Value": "support" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | -e "bastion_instance_type=t2.large" -e "master_instance_type=c4.xlarge" \ |
| | | -e "infranode_instance_type=c4.4xlarge" -e "node_instance_type=c4.4xlarge" \ |
| | | -e "nfs_instance_type=m3.large" -e "node_instance_count=5" \ |
| | | -e "email=name@example.com" \ |
| | | -e "install_idm=htpasswd" -e "software_to_deploy=openshift" \ |
| | | -e "own_repo_path=${REPO_PATH}" --skip-tags=remove_self_provisioners |
| | | |
| | |
| | | -e "support_instance_type=c4.xlarge" -e "node_instance_count=${NODE_COUNT}" \ |
| | | -e "ipa_host_password=${IPAPASS}" -e "install_idm=ldap" \ |
| | | -e "repo_method=satellite" -e "repo_version=${REPO_VERSION}" \ |
| | | -e "email=name@example.com" \ |
| | | -e "software_to_deploy=openshift" -e "osrelease=3.5.5.15" -e "docker_version=1.12.6" \ |
| | | -e "ANSIBLE_REPO_PATH=${DEPLOYER_REPO_PATH}" 1>> $LOG_FILE 2>> $LOG_FILE |
| | | |
| | |
| | | -e "infranode_instance_type=c4.4xlarge" -e "node_instance_type=c4.4xlarge" \ |
| | | -e "nfs_instance_type=t2.large" -e "node_instance_count=${NODE_COUNT}" \ |
| | | -e "install_idm=htpasswd" -e "software_to_deploy=openshift" \ |
| | | -e "email=name@example.com" \ |
| | | -e "own_repo_path=${REPO_PATH}" -e"repo_method=rhn" -e"ANSIBLE_REPO_PATH=${DEPLOYER_REPO_PATH}" \ |
| | | -e "osrelease=3.5.5.31" -e "repo_version=${REPO_VERSION}" -e "docker_version=1.12.6" \ |
| | | --skip-tags=remove_self_provisioners,opentlc-integration |
| | |
| | | -e "nfs_instance_type=m3.large" \ |
| | | -e "osrelease=${MINOR_VERSION}" \ |
| | | -e "own_repo_path=${REPO_PATH}" \ |
| | | -e "email=name@example.com" \ |
| | | -e "repo_method=file" \ |
| | | -e "subdomain_base_suffix=${BASESUFFIX}" \ |
| | | --skip-tags=remove_self_provisioners,install_zabbix \ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "bastion.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "master{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "node{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "infranode{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "support{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "Project", |
| | | "Value": "{{project_tag}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ] |
| | | } |
| | |
| | | -e "cloud_provider=${CLOUDPROVIDER}" \ |
| | | -e "aws_region=${REGION}" \ |
| | | -e "HostedZoneId=${HOSTZONEID}" \ |
| | | -e "email=name@example.com" \ |
| | | -e "install_ipa_client=false" \ |
| | | -e "repo_method=file" -e "own_repo_path=${REPO_PATH}" -e "repo_version=${REPO_VERSION}" \ |
| | | -e "software_to_deploy=none" |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "bastion.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ] |
| | | } |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "frontend{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "app{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "appdb{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |
| | |
| | | { |
| | | "Key": "internaldns", |
| | | "Value": "support{{loop.index}}.{{chomped_zone_internal_dns}}" |
| | | }, |
| | | { |
| | | "Key": "owner", |
| | | "Value": "{{ email | default('unknown')}}" |
| | | } |
| | | ], |
| | | "BlockDeviceMappings": [ |