Skip to content

Ansible role to get the IPs of the instances of an autoscaling group

License

Notifications You must be signed in to change notification settings

paradigmadigital/get-instances-ips-of-asg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-instances-ips-of-asg

Get IPs of the instances of an auto scaling group and return them in a list inside the fact asg_instances

Role Variables

  • asg : Dictionary with the information of the Autoscaling group
    • region : Region to launch the ec2 instance to create the new AMI
    • name : Auto Scaling Group name

Example playbook

- hosts        : localhost
  connection   : local
  gather_facts : no
  roles:
    - get-instances-ips-of-asg

License

GPLv2

Author Information

jamatute ([email protected])

About

Ansible role to get the IPs of the instances of an autoscaling group

Resources

License

Stars

Watchers

Forks

Packages

No packages published