- 11 Sep, 2015 12 commits
-
-
These used to go in vars_cache, so merging them in after that as they are "live" variables and the user would most likely want to see these above anything else.
James Cammarata committed -
Fixes #12327
James Cammarata committed -
Python 3: make ansible.template.safe_eval() work
James Cammarata committed -
Test for Python must be against basename of interpreter
Brian Coca committed -
James Cammarata committed
-
This reverts commit 926f1272.
James Cammarata committed -
Followup on issue #12076
Thomas Quinot committed -
Add the new module replacer <<INCLUDE_ANSIBLE_MODULE_JSON_ARGS>>.
James Cammarata committed -
There was code to support set literals (on Python 2.7 and newer), but it was buggy: SAFE_NODES.union() doesn't modify SAFE_NODES in place, instead it returns a new set object that is then silently discarded. I added a unit test and fixed the code. I also changed the version check to use sys.version_tuple instead of a string comparison, for consistency with the subsequent Python 3.4 version check that I added in the previous commit.
Marius Gedminas committed -
Two things changed in Python 3.4: - 'basestring' is no longer defined, so use six.string_types - True/False are now special AST node types (NamedConstant) rather than just names (Good thing we had tests, or I wouldn't have noticed the 2nd thing!) I found only one place where safe_eval() is called inside the ansible codebase: in lib/template/__init__.py. The call to safe_eval(result, ...) is protected by result.startswith('...'), which means result cannot possibly be a byte string on Python 3 (or startswith() would raise, so six.string_types (which excludes byte strings on Python 3) is fine here.
Marius Gedminas committed -
Fixes #12314
James Cammarata committed -
cloudstack: new integration test role test_cs_user
Brian Coca committed
-
- 10 Sep, 2015 19 commits
-
-
Fixes #12313
James Cammarata committed -
Brian Coca committed
-
James Cammarata committed
-
Brian Coca committed
-
James Cammarata committed
-
Required as part of fix for #12123
James Cammarata committed -
Fixes #12123
James Cammarata committed -
Toshio Kuratomi committed
-
Rename ansible_ssh_{host,port,user} in docs to ansible_*
Brian Coca committed -
The _ssh variants will continue to work, but the shorter, more generic names are preferred now.
Abhijit Menon-Sen committed -
Doc fixes
Brian Coca committed -
Jiri tyr committed
-
Resurrection of the comment filter
Brian Coca committed -
Jiri tyr committed
-
Python 3: use the right PyYAML SafeRepresenter for unicode
Toshio Kuratomi committed -
PyYAML has a SafeRepresenter in lib/... that defines def represent_unicode(self, data): return self.represent_scalar(u'tag:yaml.org,2002:str', data) and a different SafeRepresenter in lib3/... that defines def represent_str(self, data): return self.represent_scalar('tag:yaml.org,2002:str', data) so the right thing to do on Python 3 is to use represent_str. (AnsibleUnicode is a subclass of six.text_type, i.e. 'str' on Python 3.)
Marius Gedminas committed -
change ec2 util to create only requested objects
Benno Joy committed -
Fixes #12282
James Cammarata committed -
Typo in comment: "bsaename" → "basename"
James Cammarata committed
-
- 09 Sep, 2015 9 commits
-
-
Vault missing DataLoader for pwd file #12293
James Cammarata committed -
Fixes #12301
James Cammarata committed -
James Cammarata committed
-
Allows ANSIBLE_LIBRARY to overload core modules even if the module in ANSIBLE_LIBRARY doesn't have a .py extension.
Toshio Kuratomi committed -
James Cammarata committed
-
Rene Moser committed
-
Blake Atkinson committed
-
Fixes #12284
James Cammarata committed -
Fix problem with "=" in the initial file path.
Toshio Kuratomi committed
-