4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AnsibleAdvent Calendar 2015

Day 11

Ansible - 「ec2.py」で取得できる変数について

Posted at

Ansible Dinamic Inventoryで使用する「ec2.py」で取得できる変数の一覧のメモ

「ec2.py」で取得できる変数の一覧

  • ec2_ami_launch_index
  • ec2_architecture
  • ec2_association
  • ec2_attachTime
  • ec2_attachment
  • ec2_attachmentId
  • ec2_client_token
  • ec2_deleteOnTermination
  • ec2_description
  • ec2_deviceIndex
  • ec2_dns_name
  • ec2_eventsSet
  • ec2_group_name
  • ec2_hypervisor
  • ec2_id
  • ec2_image_id
  • ec2_instanceState
  • ec2_instance_type
  • ec2_ipOwnerId
  • ec2_ip_address
  • ec2_item
  • ec2_kernel
  • ec2_key_name
  • ec2_launch_time
  • ec2_monitored
  • ec2_monitoring
  • ec2_networkInterfaceId
  • ec2_ownerId
  • ec2_persistent
  • ec2_placement
  • ec2_platform
  • ec2_previous_state
  • ec2_private_dns_name
  • ec2_private_ip_address
  • ec2_publicIp
  • ec2_public_dns_name
  • ec2_ramdisk
  • ec2_reason
  • ec2_region
  • ec2_requester_id
  • ec2_root_device_name
  • ec2_root_device_type
  • ec2_security_group_ids
  • ec2_security_group_names
  • ec2_shutdown_state
  • ec2_sourceDestCheck
  • ec2_spot_instance_request_id
  • ec2_state
  • ec2_state_code
  • ec2_state_reason
  • ec2_status
  • ec2_subnet_id
  • ec2_tenancy
  • ec2_virtualization_type
  • ec2_vpc_id

変数の値の確認方法

ec2.py --host <IP>

参考

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?