- 08 May, 2015 3 commits
-
-
This update is to deal with nonetypes correctly. Relevant PR: https://github.com/ansible/ansible/pull/10957
Feanil Patel committed -
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.
Feanil Patel committed
-
- 11 Apr, 2015 1 commit
-
-
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
-
- 09 Apr, 2015 1 commit
-
-
James Laska committed
-
- 08 Apr, 2015 2 commits
-
-
Fix indentation
Brian Coca committed -
Jason DeTiberus committed
-
- 06 Apr, 2015 1 commit
-
-
James Cammarata committed
-
- 02 Apr, 2015 6 commits
-
-
Brian Coca committed
-
fixes #10591
Brian Coca committed -
removed folding sudo/su to become logic from constants as it is already present downstream in playbook/play/tasks
Brian Coca committed -
they could be caused by random character combinations, fixes #10468
Brian Coca committed -
Brian Coca committed
-
dont break everything when one of the vars in inject does not template correctly, wait till its used
Brian Coca committed
-
- 31 Mar, 2015 1 commit
-
-
Brian Coca committed
-
- 29 Mar, 2015 1 commit
-
-
Brian Coca committed
-
- 27 Mar, 2015 2 commits
-
-
Update README.md
Brian Coca committed -
I think since ansible and the ansible-modules have been splitted --recursive should be added
kristous committed
-
- 26 Mar, 2015 4 commits
-
-
Brian Coca committed
-
deimosfr committed
-
Make run_command() work when we get byte str with non-ascii characters (instead of unicode type like we were expecting) Fix and test. Fixes #10536
Toshio Kuratomi committed -
Toshio Kuratomi committed
-
- 25 Mar, 2015 9 commits
-
-
James Cammarata committed
-
James Cammarata committed
-
Brian Coca committed
-
James Cammarata committed
-
James Cammarata committed
-
James Cammarata committed
-
James Cammarata committed
-
James Cammarata committed
-
Toshio Kuratomi committed
-
- 24 Mar, 2015 2 commits
-
-
Brian Coca committed
-
Brian Coca committed
-
- 20 Mar, 2015 7 commits
-
-
James Cammarata committed
-
Toshio Kuratomi committed
-
Eri Bastos committed
-
Brian Coca committed
-
Brian Coca committed
-
Brian Coca committed
-
Brian Coca committed
-