You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/roles
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.
11 years ago
..
ec2_elb_instance_setup Adding an integration test for the ec2_elb module 12 years ago
ec2_provision_instances Adding an integration test for the ec2_elb module 12 years ago
prepare_rax_tests/defaults Remove unecessary prep tasks 11 years ago
prepare_tests/tasks Rework the shell quoting of remote checksumming 11 years ago
prepare_win_tests/tasks Adding first pass at win_copy, win_file and win_template modules. 11 years ago
setup_ec2 Fixing up shell quoting issues 12 years ago
setup_mysql_db Correct mysql integration indentation 11 years ago
setup_postgresql_db And the encoding needs to be latin1 for this test 11 years ago
test_always_run Rename tests to test, use old directory name. 12 years ago
test_apt Merge pull request #9957 from hfinucane/apt-deb-tests 11 years ago
test_apt_repository [test_apt_repository] Verify that 'python-apt' auto-installs correctly 12 years ago
test_assemble Move from md5 to sha1 to work on fips-140 enabled systems 11 years ago
test_async Adding integration tests for async fire-and-forget checking 11 years ago
test_authorized_key Fixing some parsing issues in authorized_key module 12 years ago
test_bad_parsing Fix missing dep on parsing integration test for preparation role 11 years ago
test_become preliminary privlege escalation unification + pbrun 11 years ago
test_binary Better names for the test_binary tests 11 years ago
test_changed_when Rename tests to test, use old directory name. 12 years ago
test_check_mode Rework the shell quoting of remote checksumming 11 years ago
test_command_shell Move from md5 to sha1 to work on fips-140 enabled systems 11 years ago
test_conditionals added complex bare templated conditional test 11 years ago
test_consul_acl/tasks Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 11 years ago
test_consul_inventory/tasks Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 11 years ago
test_consul_kv/tasks Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 11 years ago
test_consul_service/tasks Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 11 years ago
test_consul_session/tasks Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 11 years ago
test_copy typofixes - https://github.com/vlajos/misspell_fixer 11 years ago
test_docker Have selinux allow docker<=>nginx communication 11 years ago
test_ec2 [test_ec2*] cloud integration test updates 12 years ago
test_ec2_ami [test_ec2*] cloud integration test updates 12 years ago
test_ec2_asg/tasks Properly empties ASG before terminating it, and waits for ASG to be deleted. 11 years ago
test_ec2_eip Re-enable the ec2_eip test 12 years ago
test_ec2_elb Adding an ec2_elb test to re-add an instance that had been removed 12 years ago
test_ec2_elb_lb Fixing two bugs in the ec2_elb_lb module 12 years ago
test_ec2_facts [test_ec2*] cloud integration test updates 12 years ago
test_ec2_group Removing cruft leftover from the deprecation of include+with_items 12 years ago
test_ec2_key [test_ec2*] cloud integration test updates 12 years ago
test_ec2_tag [test_ec2*] cloud integration test updates 12 years ago
test_ec2_vol [test_ec2*] cloud integration test updates 12 years ago
test_ec2_vpc [test_ec2*] cloud integration test updates 12 years ago
test_embedded_module Fix bug in plugin path caching 11 years ago
test_facts_d Rename tests to test, use old directory name. 12 years ago
test_failed_when/tasks Added test for failed_when to non_destructive integration tests. 12 years ago
test_fetch changed fetch test to match new functionality 11 years ago
test_file Tests for: https://github.com/ansible/ansible-modules-core/issues/778 11 years ago
test_filters typoed the filename 11 years ago
test_gce Adds support for attaching persistent disks to GCE instances 12 years ago
test_gce_pd Adds support for creating GCE persistent disks from snapshots 12 years ago
test_gem Rename tests to test, use old directory name. 12 years ago
test_get_url Fix py26 difference in ssl socket connect call from 99ba9d6 12 years ago
test_git test_git: add tests for `refspec' argument 11 years ago
test_good_parsing Additional fixes for the new omit parameter variable 12 years ago
test_handlers Correct issue of handlers running on all hosts incorrectly 12 years ago
test_handlers_meta Ensure handlers run when meta tasks are defined and add handler integration tests 12 years ago
test_hash_behavior Rename tests to test, use old directory name. 12 years ago
test_hg multiple spelling error changes 12 years ago
test_ignore_errors Rename tests to test, use old directory name. 12 years ago
test_includes Add some more integration tests for the task and playbook include mechanism. 12 years ago
test_iterators Security fixes: 12 years ago
test_lineinfile typofixes - https://github.com/vlajos/misspell_fixer 11 years ago
test_lookups added tests for templating and with_items 11 years ago
test_mysql_db typofixes - https://github.com/vlajos/misspell_fixer 11 years ago
test_mysql_user Error message has changed; scrape the new message 11 years ago
test_mysql_variables Adding test Coverage for mysql_variable module 12 years ago
test_ping/tasks Rename tests to test, use old directory name. 12 years ago
test_pip multiple spelling error changes 12 years ago
test_postgresql New integration tests for postgresql 11 years ago
test_rax Add tests for rax instance_ids with state=absent 11 years ago
test_rax_cbs Remove explicit msg match for invalid size 11 years ago
test_rax_cbs_attachments Add tests for rax_cbs_attachments 11 years ago
test_rax_cdb Add tests for rax_cdb 11 years ago
test_rax_cdb_database Add tests for rax_cdb_database 11 years ago
test_rax_clb Add some extra vars and create a dependent role prepare_rax_tests 11 years ago
test_rax_clb_nodes Add some extra vars and create a dependent role prepare_rax_tests 11 years ago
test_rax_facts Add test_rax_facts 11 years ago
test_rax_identity Add tests for rax_identity 11 years ago
test_rax_keypair Add test_rax_keypair role 11 years ago
test_rax_meta Add test_rax_meta role 11 years ago
test_rax_network Add test_rax_network role 11 years ago
test_script Typo fixes. 12 years ago
test_service Fix integration test to check for checksum, not md5sum 11 years ago
test_stat Add a fips fact and use it for integration tests 11 years ago
test_su preliminary privlege escalation unification + pbrun 11 years ago
test_subversion Correct typo 11 years ago
test_sudo preliminary privlege escalation unification + pbrun 11 years ago
test_synchronize Forgot to add an assertion for the new rsync_path test 12 years ago
test_template Don't convert numbers and booleans to strings. 11 years ago
test_unarchive Do not mark "skipped" when changed is false 11 years ago
test_var_blending Correcting var blending integration test 12 years ago
test_var_precedence Split out various vars-related things to avoid merging too early 11 years ago
test_var_precedence_dep Fix order of resolving dependent role variables from vars files 11 years ago
test_var_precedence_inven_override/tasks Test that we can override variables set in inventory when the vars_file name is templated 11 years ago
test_var_precedence_role1 Fix order of resolving dependent role variables from vars files 11 years ago
test_var_precedence_role2 Fix issue with vars precedence from roles 11 years ago
test_var_precedence_role3 Correct variable blending from vars_files with hostvars in them 12 years ago
test_win_copy Revised following comments from Chris Church. 11 years ago
test_win_feature Add integration tests for the win_feature module. 11 years ago
test_win_fetch/tasks Fix PowerShell plugin issues affecting fetch module when used against Windows hosts. 11 years ago
test_win_file Adding first pass at win_copy, win_file and win_template modules. 11 years ago
test_win_get_url/tasks Add basic tests for win_get_url and win_msi modules. 12 years ago
test_win_msi/tasks Add basic tests for win_get_url and win_msi modules. 12 years ago
test_win_ping/tasks Add integration tests for fetch/slurp, make powershell fetch/slurp work as close as possible to existing fetch/slurp modules. 12 years ago
test_win_raw/tasks Added winrm test for long-running command. 12 years ago
test_win_script Update PowerShell command line processing to handle parameters passed via splatting. 11 years ago
test_win_service Add integration tests for win_service module. 12 years ago
test_win_setup/tasks Add tests for new windows facts. 12 years ago
test_win_slurp/tasks Add integration tests for fetch/slurp, make powershell fetch/slurp work as close as possible to existing fetch/slurp modules. 12 years ago
test_win_stat/tasks typofixes - https://github.com/vlajos/misspell_fixer 11 years ago
test_win_template Adding first pass at win_copy, win_file and win_template modules. 11 years ago
test_win_user Update win_user tests to set a group on user creation. 11 years ago
test_yum Removing cruft leftover from the deprecation of include+with_items 12 years ago