summaryrefslogtreecommitdiffstats
path: root/filter_plugins
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-11-16 10:29:22 -0500
committerGitHub <noreply@github.com>2016-11-16 10:29:22 -0500
commit05d8ad250cc6b8ebc6d6c61f312e69e0dccf49b5 (patch)
tree6ebe7620355bbf84d31853ca615fe8b0ac44267d /filter_plugins
parente96a363c9b502f61db363d8be26f365809ea65a1 (diff)
parent82449c6b8a27ef56db70af2d8c0be89dc24465d2 (diff)
downloadopenshift-05d8ad250cc6b8ebc6d6c61f312e69e0dccf49b5.tar.gz
openshift-05d8ad250cc6b8ebc6d6c61f312e69e0dccf49b5.tar.bz2
openshift-05d8ad250cc6b8ebc6d6c61f312e69e0dccf49b5.tar.xz
openshift-05d8ad250cc6b8ebc6d6c61f312e69e0dccf49b5.zip
Merge pull request #2813 from lhuard1A/optimize_list
Optimize the cloud-specific list.yml playbooks
Diffstat (limited to 'filter_plugins')
-rw-r--r--filter_plugins/oo_filters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter_plugins/oo_filters.py b/filter_plugins/oo_filters.py
index 97eacf9bf..38bc3ad6b 100644
--- a/filter_plugins/oo_filters.py
+++ b/filter_plugins/oo_filters.py
@@ -608,8 +608,8 @@ class FilterModule(object):
host_type=_get_tag_value(host['group_names'], 'host-type'),
sub_host_type=_get_tag_value(host['group_names'], 'sub-host-type'),
host={'name': host['inventory_hostname'],
- 'public IP': host['ansible_ssh_host'],
- 'private IP': host['ansible_default_ipv4']['address']})
+ 'public IP': host['oo_public_ipv4'],
+ 'private IP': host['oo_private_ipv4']})
except KeyError:
pass
return clusters