From 36cbd771a4f26294175a902b51928c6342f39fdd Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 19 Aug 2015 00:10:31 -0400 Subject: [PATCH] changed fixme to deprecated --- lib/ansible/vars/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/vars/__init__.py b/lib/ansible/vars/__init__.py index c3cb698fbf1..86992f4d7e3 100644 --- a/lib/ansible/vars/__init__.py +++ b/lib/ansible/vars/__init__.py @@ -253,9 +253,9 @@ class VariableManager: all_vars['inventory_dir'] = self._inventory.basedir() if play: # add the list of hosts in the play, as adjusted for limit/filters - # FIXME: play_hosts should be deprecated in favor of ansible_play_hosts, - # however this would take work in the templating engine, so for now - # we'll add both so we can give users something transitional to use + # DEPRECATED: play_hosts should be deprecated in favor of ansible_play_hosts, + # however this would take work in the templating engine, so for now + # we'll add both so we can give users something transitional to use host_list = [x.name for x in self._inventory.get_hosts()] all_vars['play_hosts'] = host_list all_vars['ansible_play_hosts'] = host_list