1. 11 Apr, 2015 1 commit
    • Don't convert numbers and booleans to strings. · 0efd4617
      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
  2. 09 Apr, 2015 1 commit
  3. 08 Apr, 2015 2 commits
  4. 06 Apr, 2015 1 commit
  5. 02 Apr, 2015 6 commits
  6. 31 Mar, 2015 1 commit
  7. 29 Mar, 2015 1 commit
  8. 27 Mar, 2015 2 commits
  9. 26 Mar, 2015 4 commits
  10. 25 Mar, 2015 9 commits
  11. 24 Mar, 2015 2 commits
  12. 20 Mar, 2015 8 commits
  13. 19 Mar, 2015 2 commits