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 +4 -4
- data/lib/ansible_eyc_inventory.rb +3 -1
- data/lib/ansible_eyc_inventory/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a4af2b9fcdd44248115d1e1411580034fcca2d3
|
4
|
+
data.tar.gz: f3bc6d5977b445a4971683b2cafa5358fa93dd37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
}
|
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.
|
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-
|
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
|