ansible/v2
Feanil Patel 0abcebf1e4 Don't convert numbers and booleans to strings.
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.
2015-04-11 12:03:42 -04:00
..
ansible Don't convert numbers and booleans to strings. 2015-04-11 12:03:42 -04:00
bin now in v2 everything passes a single passwords hash 2015-04-08 03:17:32 -04:00
hacking Port sivel's fix for egg_info (#10563) to v2 2015-03-30 19:15:41 -07:00
samples Fixing multiple v2 bugs 2015-04-05 01:07:47 -05:00
scripts
test renamed get_entries to get_plays 2015-04-04 10:24:03 -04:00
README-tests.md