Last active
February 7, 2018 22:11
-
-
Save takakabe/59d3a8672caa399cead0fb8e67934b87 to your computer and use it in GitHub Desktop.
Ansible
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
- hosts: local | |
connection: local | |
gather_facts: False | |
tasks: | |
- name: creating_instance_config | |
ec2: | |
key_name: kabegiwa-key | |
vpc_subnet_id: subnet-xxxxxxxx | |
instance_type: t2.micro | |
assign_public_ip: no | |
image: ami-xxxxxxxx | |
group: kabe_security_group | |
region: ap-northeast-1 | |
termination_protection: no | |
ebs_optimized: false | |
volumes: | |
- device_name: /dev/xvda | |
volume_type: gp2 | |
volume_size: 8 | |
delete_on_termination: true | |
count_tag: | |
Hostname: Hostname | |
instance_tags: | |
Name: kabe_test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment