community.general/lib/ansible
Jonas Eriksson 16efb45735 Fix playbook-local host_vars when running from .
Since ansible 1.2, it became possible to place a host_vars
directory in the same directory as a playbook, making it possible
to keep host_vars local to that playbook there. However, due to
python's os.path.dirname, a action such as:

 $ ansible-playbook pb.yml

..would not pick up the host_vars as os.path.dirname("pb.yml")
returns "", unlike the unix command dirname that would return
".". Substituting "pb.yml" on the command line with "./pb.yml"
would do the trick, but is not always intuitive. This patch
solves the problem until python solves issue18547 [1].

[1] http://bugs.python.org/issue18547
2013-07-24 18:33:06 +02:00
..
callback_plugins Renamed on_no_hosts_matched/on_no_hosts_remaining to correct names in noop callback, added methods to callback plugin examples. 2013-06-09 12:19:07 -04:00
inventory Fix playbook-local host_vars when running from . 2013-07-24 18:33:06 +02:00
playbook Merge branch 'changed_when' of git://github.com/stoned/ansible into changed_when 2013-07-21 10:14:03 -04:00
runner Merge pull request #3621 from sergevanginderachter/rename2flattened 2013-07-22 10:32:38 -07:00
utils Change conditional operation workflow. 2013-07-21 10:37:02 -04:00
__init__.py Version bump and assorted things to start new development version. 2013-06-10 15:34:52 -04:00
callbacks.py Remove variable per pyflakes 2013-07-20 12:52:17 -04:00
color.py Check for existence of isatty on stdout before calling it 2013-07-19 11:06:31 +03:00
constants.py now ANSIBLE_KEEP_REMOTE_FILE acts as boolean 2013-07-14 22:08:36 -04:00
errors.py Introduce exception AnsibleFilterError and use it in Jinja filters. Ignore this exception when trying to find the name of a task for display (callback) purpose. 2013-07-07 19:18:32 +02:00
module_common.py changed atomic_move to be more 'optimistic' which helps deal with corner 2013-07-20 12:07:00 -04:00