Brian Coca
c2d8ca4bf7
fixed test to expected output
2015-07-30 18:36:54 -04:00
James Cammarata
ba56beda90
Fix include task using a potentially undefined variable
2015-07-29 15:49:29 -04:00
James Cammarata
71867f9480
Remove vars attribute from base
...
Fixes #11779
2015-07-29 09:45:30 -04:00
James Cammarata
42cfacf83b
Switch up the task/host overrides for PlayContext to use the compiled vars dict
...
Fixes #11436
2015-07-28 16:25:44 -04:00
James Cammarata
e505a1b7c4
Fix variable precedence integrationt test
2015-07-28 00:51:58 -04:00
Brian Coca
c76a66694f
fixed typo
2015-07-27 22:54:57 -04:00
Michael Scherer
106e942faa
Document and test 'is undefined' rather than 'is not defined'
...
According to https://github.com/ansible/ansible/issues/10273 ,
this syntax should work better for nested dicts.
2015-07-25 14:05:27 +02:00
James Cammarata
8146a193eb
Fix strategy base unit tests after 88e1ef8
2015-07-24 10:53:54 -04:00
Toshio Kuratomi
b06353791c
Don't pass mode from synchronize action plugin to the ansible module
...
Fixes https://github.com/ansible/ansible-modules-core/issues/1783
2015-07-23 00:42:27 -07:00
James Cammarata
993ce592b1
Update unit tests for flush_handlers fix
2015-07-22 11:30:05 -04:00
James Cammarata
66a8864ae9
Fix environment setting and inheritence
...
Fixes #11401
2015-07-21 13:57:30 -04:00
James Cammarata
46f74a0d69
Re-adding --start-at-task test to unicode integration test
2015-07-21 12:36:41 -04:00
James Cammarata
e64989beb4
Moving ConnectionInformation -> PlayContext
...
Also making PlayContext a child class of the Playbook Base class,
which gives it access to all of the FieldAttribute code to ensure
field values are correctly typed after post_validation
Fixes #11381
2015-07-21 12:13:50 -04:00
James Cammarata
b09eed3353
Merge branch 'test_notify_with_loops' of https://github.com/pilou-/ansible into pilou--test_notify_with_loops
2015-07-20 21:09:34 -04:00
James Cammarata
fadd8f23f1
Fix broken strategy unit test from earlier change
2015-07-20 15:47:29 -04:00
James Cammarata
dca36c1d16
Reestablishing the use of tags/when for role duplication detection
...
Not figuring these in can cause problems with "diamond" pattern relationships,
even though this is still not quite optimal.
2015-07-20 14:37:20 -04:00
Pierre-Louis Bonicoli
aa23ea8462
tests: checks that handlers work with loops
2015-07-20 14:41:03 +02:00
Pierre-Louis Bonicoli
8c392a94b7
Play.get_name: remove prefix, return name only
2015-07-20 12:41:39 +02:00
James Cammarata
3d77723e3d
Cleaning up some stuff related to the connection info/become/executable change
2015-07-19 01:12:23 -04:00
Brian Coca
9dc5607730
Merge pull request #11519 from bcoca/human_readable
...
new human_readable filter to transform bits and bytes into cake
2015-07-18 23:10:53 -04:00
James Cammarata
d6b058eaae
Removing invocation from async test, as it's pointless
2015-07-15 12:03:02 -04:00
Brian Coca
323362e23a
added stdout to test result
2015-07-14 15:59:18 -04:00
Toshio Kuratomi
327b1676a8
Add support for SNI and TLS-1.1 and TLS-1.2 to the fetch_url() helper
...
Fixes #1716
Fixes #1695
2015-07-14 12:48:35 -07:00
Brian Coca
f6c64a8c00
fixed var file loading
2015-07-14 12:12:43 -04:00
Brian Coca
5eb25a48ee
added empty include test
2015-07-14 12:06:31 -04:00
Brian Coca
22165dd046
fixed bad parsing tests
2015-07-14 12:06:31 -04:00
James Cammarata
3b913943b2
Updating base strategy unit test regarding bad file loads based on earlier change
2015-07-14 11:09:22 -04:00
Brian Coca
44aef347cb
enabled good parsing tests in parsing target
...
fixed test_good_parsing role
added raw duplicate parameters to test_good_parsing
2015-07-14 08:05:57 -04:00
James Cammarata
6971e92f39
Fixing up some output stuff
2015-07-14 00:23:17 -04:00
Brian Coca
b4de103bb2
Merge pull request #11555 from cchurch/test_win_get_url_updates
...
Update tests for win_get_url module to test force parameter
2015-07-10 17:07:20 -04:00
Chris Church
1aa2191fd5
Update tests for win_get_url module to test force parameter and invalid URLs/paths.
2015-07-10 15:54:18 -04:00
Brian Coca
c6dde19a5e
Merge pull request #11537 from chrismeyersfsu/azure-test
...
assert password or ssh key provided on new image creation
2015-07-10 13:57:15 -04:00
Brian Coca
9c5a6d7b5a
fixed all references to old plugins/inventory to point at contrib/inventory
2015-07-10 13:00:12 -04:00
James Cammarata
5430169b77
Cleaning up includes test to match 2.0 behavior
...
* Perhaps the only precedence change, in 2.0+ variables from set_fact
will not override params to an include file, as params are expected
to be more specific than host-based variables.
* Uncommented long-form include example.
2015-07-10 11:22:51 -04:00
James Cammarata
1163e38d39
Fix unit tests for new magic variable addition 'ansible_version'
2015-07-10 03:33:11 -04:00
James Cammarata
bbe8f48a46
Update role unit tests for changes made to require a play during loading
2015-07-10 02:50:33 -04:00
James Cammarata
b520d5bc60
Lots of fixes for integration test bugs
2015-07-10 01:53:59 -04:00
Chris Meyers
32685f9648
assert password or ssh key provided on new image creation
2015-07-09 13:44:09 -04:00
James Cammarata
27fcf1a4b5
Fix bug in registered variables related to delegate_to changes
2015-07-08 12:38:24 -04:00
James Cammarata
f5baad4fb2
Removing unicode --start-at-task test for now as we haven't added that back into devel
2015-07-08 12:23:42 -04:00
James Cammarata
64a1b1e043
Fix first_available_file: support for copy and template actions
2015-07-08 12:23:42 -04:00
marconius
79394f5c8f
Added tests for taggable
module
2015-07-08 10:22:33 -04:00
Brian Coca
48827a31bc
added minimal testing for special template vars
2015-07-07 20:11:55 -04:00
James Cammarata
bfbb88b4a9
Fix strategy plugin unit tests related to earlier changes
2015-07-07 16:26:24 -04:00
Brian Coca
688088547b
new human_readable filter to transform bits and bytes into cake (not really)
2015-07-07 15:58:18 -04:00
Toshio Kuratomi
f44f9569e1
Test unquote works as expected and fix two bugs:
...
* escaped end quote
* a single quote character
2015-07-06 13:16:42 -07:00
Brian Coca
aa6486778f
fixed become test to match new expected output
2015-07-06 15:34:38 -04:00
James Cammarata
53cd96befe
Updating unit tests to account for new magic variable 'vars'
2015-07-04 21:48:54 -04:00
Brian Coca
5122455db8
ported missing sequence updates from 1.9
2015-07-03 13:54:51 -04:00
Matt Martz
2cd3a1be00
assertRaises should be given an exception type. Fixes 11441
2015-06-30 11:02:33 -05:00