ansible_eyc_inventory 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 354f9bf98d82be58b3ce33a514e2221f76393b06
4
- data.tar.gz: 081d312fd9a64bc3d654a85b7428115570bd781a
3
+ metadata.gz: 3a4af2b9fcdd44248115d1e1411580034fcca2d3
4
+ data.tar.gz: f3bc6d5977b445a4971683b2cafa5358fa93dd37
5
5
  SHA512:
6
- metadata.gz: 6c1d98fe7e11546f81ad85856cb428d039680463de7fb6a65b6f148836f7178cca795e594d8b8479d15f189e15b0afd17485ffbdd516ef7f514fe7349d9dcc85
7
- data.tar.gz: 89a57db8c238e46126a9985fc5a4149c85798b67776427a17f29c0c706732d4861d48c39250f3e98a3320cf16188b268d1fde64c4c94138e98d8669de614958b
6
+ metadata.gz: d600908476896aea4d18ebbf415a34420a50b27f3b6b42b7b1d2b9f48c3c5ad78f540cf8d88f7db6c99da0187a2306f2e1b6aa6640ebcf54bd621249867adaa4
7
+ data.tar.gz: f8e4a059d23f954123211ef8a0b9241179866547f049a4e6b1802443b640bc65aff0d4adbbfc774488a4f49cc32147fa73e006cd7173cf6f0c5a0f8112aeae3e
@@ -2,6 +2,7 @@ require 'engineyard-cloud-client'
2
2
  require 'json'
3
3
  require 'pathname'
4
4
  require 'yaml'
5
+ require 'resolv'
5
6
 
6
7
  module AnsibleEYCInventory
7
8
  EYRC_PATH = Pathname.new('~/.eyrc')
@@ -21,7 +22,8 @@ module AnsibleEYCInventory
21
22
  ansible_ssh_user: env.username,
22
23
  eyc_amazon_id: instance.amazon_id,
23
24
  eyc_availability_zone: instance.availability_zone,
24
- eyc_status: instance.status
25
+ eyc_status: instance.status,
26
+ public_ip: Resolv.getaddress(instance.hostname)
25
27
  }
26
28
  }
27
29
  }
@@ -1,3 +1,3 @@
1
1
  module AnsibleEYCInventory
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ansible_eyc_inventory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keita Urashima
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-18 00:00:00.000000000 Z
11
+ date: 2014-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: engineyard-cloud-client