Created
October 8, 2018 18:04
-
-
Save tlester/53e6815d349648269aa350f31d0f8eb3 to your computer and use it in GitHub Desktop.
ebs_optimized
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Provision host splunkhf001a | |
vars: | |
hostname: splunkhf001a | |
seceng_app: splunk | |
image: "{{ linux_ami }}" | |
app_security_group: sec-splunk-hf-fsec005-gcwe1 | |
instance_type: m4.2xlarge | |
subnet_id: subnet-888d41fe # us-gov-west-1a subnet | |
# subnet_id: subnet-8d0dd9e9 # us-gov-west-1b subnet | |
ec2_instance: | |
profile: "{{ boto_profile }}" | |
name: "{{ hostname }}.{{ domain }}" | |
key_name: "{{ key_name }}" | |
state: "{{ state }}" | |
instance_type: "{{ instance_type }}" | |
image_id: "{{ image }}" | |
security_groups: | |
- sec-splunk-base-fsec005-gcwe1 | |
- sec-base-fsec005-gcwe1 | |
- base-private-fsec005-gcwe1 | |
- base-group-fsec005-gcwe1 | |
- "{{ app_security_group }}" | |
wait: yes | |
region: "{{ region }}" | |
vpc_subnet_id: "{{ subnet_id }}" | |
ebs_optimized: yes | |
volumes: | |
- device_name: /dev/sdf | |
ebs: | |
volume_type: standard | |
volume_size: 500 | |
delete_on_termination: yes | |
tags: | |
hostname: "{{ hostname }}.{{ domain }}" | |
seceng_app: "{{ seceng_app }}" | |
seceng_provisioner: "{{ seceng_provisioner }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment