- 14 Aug, 2015 3 commits
-
-
Feanil Patel committed
-
This change is similar to https://github.com/ansible/ansible/pull/10465 It extends the logic there to also support none types. Right now if you have a '!!null' in yaml, and that var gets passed around, it will get converted to a string. eg. defaults/main.yml ``` ENABLE_AWESOME_FEATURE: !!null # Yaml Null OTHER_CONFIG: secret1: "so_secret" secret2: "even_more_secret" CONFIG: hostname: "some_hostname" features: awesame_feature: "{{ ENABLE_AWESOME_FEATURE}}" secrets: "{{ OTHER_CONFIG }}" ``` If you output `CONFIG` to json or yaml, the feature flag would get represented in the output as a string instead of as a null, but secrets would get represented as a dictionary. This is a mis-match in behaviour where some "types" are retained and others are not. This change should fix the issue. I also updated the template test to test for this and made the changes to v2. Added a changelog entry specifically for the change from empty string to null as the default. Made the null representation configurable. It still defaults to the python NoneType but can be overriden to be an emptystring by updating the DEFAULT_NULL_REPRESENTATION config. Conflicts: lib/ansible/constants.py The way get_config is implemented change from 1.9 to devel. I matched my code to what was there.
Feanil Patel committed -
Before this change if a variable was of type int or bool and the variable was referenced by another variable, the type would change to string. eg. defaults/main.yml ``` PORT: 4567 OTHER_CONFIG: secret1: "so_secret" secret2: "even_more_secret" CONFIG: hostname: "some_hostname" port: "{{ PORT }}" secrets: "{{ OTHER_CONFIG }}" ``` If you output `CONFIG` to json or yaml, the port would get represented in the output as a string instead of as a number, but secrets would get represented as a dictionary. This is a mis-match in behaviour where some "types" are retained and others are not. This change should fix the issue. Update template test to also test var retainment. Make the template changes in v2. Update to only short-circuit for booleans and numbers. Added an entry to the changelog.
Feanil Patel committed
-
- 12 Aug, 2015 2 commits
-
-
prevent local logging of module args under -vv when no_log specified
Brian Coca committed -
nitzmahone committed
-
- 11 Aug, 2015 1 commit
-
-
James Cammarata committed
-
- 07 Aug, 2015 4 commits
-
-
Fix powershell splatting leaving 'ExecutionPolicy Unrestricted' intact'
Brian Coca committed -
patch runner action plugin in ansible 1.9.x is broken with remote source patch file
Brian Coca committed -
Changed powershell.py to fix powershell splatting. To make sure the ExectutionPolicy stays working, added 'ExecutionPolicy Unrestricted' to _common-args. This restores support for: myscript.ps1 @{'Key'='Value';'Another'='Value'}
Ard-Jan Barnas committed -
Philippe Jandot committed
-
- 06 Aug, 2015 2 commits
-
-
Toshio Kuratomi committed
-
Toshio Kuratomi committed
-
- 31 Jul, 2015 2 commits
-
-
Toshio Kuratomi committed
-
Toshio Kuratomi committed
-
- 29 Jul, 2015 1 commit
-
-
Toshio Kuratomi committed
-
- 28 Jul, 2015 2 commits
-
-
Toshio Kuratomi committed
-
Add complex_args to logging callback data
Brian Coca committed
-
- 25 Jul, 2015 1 commit
-
-
Brian Coca committed
-
- 24 Jul, 2015 1 commit
-
-
Toshio Kuratomi committed
-
- 23 Jul, 2015 1 commit
-
-
Toshio Kuratomi committed
-
- 22 Jul, 2015 3 commits
-
-
James Cammarata committed
-
Toshio Kuratomi committed
-
Toshio Kuratomi committed
-
- 21 Jul, 2015 3 commits
-
-
Toshio Kuratomi committed
-
Toshio Kuratomi committed
-
Toshio Kuratomi committed
-
- 20 Jul, 2015 4 commits
-
-
Fixes #11654
Toshio Kuratomi committed -
Toshio Kuratomi committed
-
This allows usage of tls-1.1 and tls-1.2 if the underlying openssl library supports it. Unfortunately it also allows sslv2 and sslv3 if the server is only configured to support those. In this day and age, that's probably something that the server administrator should fix anyhow.
Toshio Kuratomi committed -
Fixes #1716 Fixes #1695 Conflicts: test/integration/roles/test_uri/tasks/main.yml
Toshio Kuratomi committed
-
- 09 Jul, 2015 1 commit
-
-
Toshio Kuratomi committed
-
- 08 Jul, 2015 1 commit
-
-
Callback plugins don't get given any complex module arguments on task invocation, this fixes that.
Darren Worrall committed
-
- 07 Jul, 2015 1 commit
-
-
fixes #11505
Brian Coca committed
-
- 06 Jul, 2015 2 commits
-
-
* escaped end quote * a single quote character
Toshio Kuratomi committed -
Brian Coca committed
-
- 05 Jul, 2015 1 commit
-
-
Brian Coca committed
-
- 03 Jul, 2015 3 commits
-
-
verm666 committed
-
Brian Coca committed
-
now checks for stride being 0 so it does not skip counts of 1 but still skips counts of 0 fixes #11422
Brian Coca committed
-
- 02 Jul, 2015 1 commit
-
-
James Cammarata committed
-