- 03 Sep, 2015 22 commits
-
-
Fix typo to avoid traceback during testing
Toshio Kuratomi committed -
James Cammarata committed
-
* When iterating over a child state, a failure should be propagated up so parent blocks don't continue iterating * Make sure a child state exists before trying to search it Fixes #12210
James Cammarata committed -
Praveen Kumar committed
-
Python 3: avoid iteritems() in a template
Toshio Kuratomi committed -
I don't think six.iteritems is available here, but I also don't expect there to be enough platforms to ever make the speed difference between .items() and .iteritems() noticeable.
Marius Gedminas committed -
Toshio Kuratomi committed
-
Toshio Kuratomi committed
-
Toshio Kuratomi committed
-
Simplify FactCache.copy()
Toshio Kuratomi committed -
Also fix the bug (missing from six import iteritems) I introduced in 823677b4.
Marius Gedminas committed -
Replace .iteritems() with six.iteritems()
Toshio Kuratomi committed -
Replace .iteritems() with six.iteritems() everywhere except in module_utils (because there's no 'six' on the remote host). And except in lib/ansible/galaxy/data/metadata_template.j2, because I'm not sure six is available there.
Marius Gedminas committed -
James Cammarata committed
-
James Cammarata committed
-
James Cammarata committed
-
James Cammarata committed
-
https://github.com/amenonsen/ansible
Merge branch 'connection-locking' of https://github.com/amenonsen/ansible into amenonsen-connection-locking
James Cammarata committed -
Make lock_host_keys a real noop, instead of half-a-noop
James Cammarata committed -
Abhijit Menon-Sen committed
-
The lock file is (a temporary file) opened in the parent process, whose open fd is inherited by the workers after fork, and passed down through the PlayContext. Connection grows lock/unlock methods which can be used by individual connection plugins.
Abhijit Menon-Sen committed -
Right now, we don't do any locking, but we still scan known_hosts files twice per connection. That's completely unnecessary, and the proposed solutions to the locking problem wouldn't need known_hosts scanning anyway, so this code can go away.
Abhijit Menon-Sen committed
-
- 02 Sep, 2015 18 commits
-
-
Delete all compiled python files when running hacking/env-setup
Brian Coca committed -
Luke Rohde committed
-
Brian Coca committed
-
Brian Coca committed
-
Toshio Kuratomi committed
-
In v1, a trailing newline was kept if the parameter was passed as key=value. If the parameter was passed as yaml dict the trailing newline was discarded. Since key-value and yaml dict were unified in v2 we have to make a choice as to which behaviour we want. Decided that keeping trailing newlines by default made the most sense. Fixes #12200 Fixes #12199
Toshio Kuratomi committed -
Luke Rohde committed
-
James Cammarata committed
-
Toshio Kuratomi committed
-
Use rich comparisons for Attribute and FieldAttribute
James Cammarata committed -
Fixes #12206
James Cammarata committed -
ansible is passing unicode arond internally so we should test the same data. * Add a zero length test for _count_newlines and fix the zero newlines test to have no newlines.
Toshio Kuratomi committed -
Toshio Kuratomi committed
-
Fix for one half of hte bug reported in #12198
Toshio Kuratomi committed -
Brian Coca committed
-
Brian Coca committed
-
Brian Coca committed
-
Brian Coca committed
-