Brian Coca
846f0b0510
changed no_log expected type to new value
9 years ago
Ryan Petrello
1886307845
Fix a parsing bug that prevents IPv6 addresses from being used with `add_host`
...
Closes #8682
9 years ago
Brian Coca
69f380da3a
changed mod_args test to match connection
9 years ago
Brian Coca
ab355218a0
fixed test to new parser options
9 years ago
Brian Coca
ee21ebaffc
Merge pull request #11975 from mutemule/become_doas
...
Add become support for OpenBSD doas
9 years ago
Damian Gerow
1c5611100e
Add become support for OpenBSD doas
9 years ago
Brian Coca
43bf9c86d8
fixed typo
9 years ago
Brian Coca
d38bb4152d
fixed test to match new exception class used
9 years ago
Brian Coca
2eb5333b50
fixed test to match new become output
9 years ago
Toshio Kuratomi
e8452c864e
Restore the relative path handling portion of #11865
9 years ago
Brian Coca
b9433650d1
Revert "Path of group_vars and host_vars were getting the basedir added twice."
...
in view of simpler solution incomming from james
This reverts commit bae7a02be5
.
9 years ago
Toshio Kuratomi
bae7a02be5
Path of group_vars and host_vars were getting the basedir added twice.
...
Fix inventory so this won't happen and fix DataLoader so that it will
test relative paths relative to self._basedir
Fixes #11789
9 years ago
James Cammarata
9891bcbcae
Fix unit tests broken by previous commit
9 years ago
James Cammarata
6b244ed61e
update unit tests for role templating changes
9 years ago
James Cammarata
42cfacf83b
Switch up the task/host overrides for PlayContext to use the compiled vars dict
...
Fixes #11436
9 years ago
James Cammarata
8146a193eb
Fix strategy base unit tests after 88e1ef8
9 years ago
James Cammarata
993ce592b1
Update unit tests for flush_handlers fix
9 years ago
James Cammarata
66a8864ae9
Fix environment setting and inheritence
...
Fixes #11401
9 years ago
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
9 years ago
James Cammarata
fadd8f23f1
Fix broken strategy unit test from earlier change
9 years ago
Pierre-Louis Bonicoli
8c392a94b7
Play.get_name: remove prefix, return name only
9 years ago
James Cammarata
3d77723e3d
Cleaning up some stuff related to the connection info/become/executable change
9 years ago
Brian Coca
323362e23a
added stdout to test result
10 years ago
James Cammarata
3b913943b2
Updating base strategy unit test regarding bad file loads based on earlier change
10 years ago
James Cammarata
1163e38d39
Fix unit tests for new magic variable addition 'ansible_version'
10 years ago
James Cammarata
bbe8f48a46
Update role unit tests for changes made to require a play during loading
10 years ago
marconius
79394f5c8f
Added tests for `taggable` module
10 years ago
James Cammarata
bfbb88b4a9
Fix strategy plugin unit tests related to earlier changes
10 years ago
Toshio Kuratomi
f44f9569e1
Test unquote works as expected and fix two bugs:
...
* escaped end quote
* a single quote character
10 years ago
Brian Coca
aa6486778f
fixed become test to match new expected output
10 years ago
James Cammarata
53cd96befe
Updating unit tests to account for new magic variable 'vars'
10 years ago
Matt Martz
2cd3a1be00
assertRaises should be given an exception type. Fixes 11441
10 years ago
James Cammarata
4fbd4ae18b
Update VariableManager test for additional magic variable playbook_dir
10 years ago
Brian Coca
5bac17de51
fixed pfexec test
10 years ago
Brian Coca
091caf6279
added missing error class import
10 years ago
Brian Coca
e9cf67004b
updated fail_on_undefined test to new function signatures
10 years ago
Matt Martz
230be812ba
Don't test for play.become_pass any longer
10 years ago
Matt Martz
49d19e82ab
Get tests passing
...
The largest failure in the tests was due to selinux not being installed.
The tests don't require it to be installed, so mock the import.
10 years ago
James Cammarata
9ac624d2c9
Fix mock DictDataLoader _get_file_contents to match real code
10 years ago
James Cammarata
fe41f109a9
Merge branch 'v2_final' into devel_switch_v2
10 years ago
James Cammarata
4bc7703db3
Fixing some small bugs related to integration tests (v2)
10 years ago
James Cammarata
0828028c71
Fixing unit test for included file changes
10 years ago
James Cammarata
2bad888f28
Merge branch 'v2_final' into devel_switch_v2
...
Conflicts:
lib/ansible/inventory/__init__.py
lib/ansible/modules/core
lib/ansible/utils/__init__.py
lib/ansible/utils/module_docs.py
10 years ago
James Cammarata
e59d4f3b51
More module_utils/basic.py unit tests for v2
10 years ago
James Cammarata
339a02c384
Started reworking module_utils/basic unit tests (v2)
10 years ago
James Cammarata
d4a31e8d26
Adding unit tests for TaskExecutor (v2)
10 years ago
Serge van Ginderachter
b92d70c5b6
tests files extensions in group/host_vars dir
...
only files with extensions as per
C.YAML_FILENAME_EXTENSIONS should be parsed
10 years ago
James Cammarata
838ff32001
Fix unit test for conn_info (v2)
...
The default user expected in the connection information is the current
user, not root
10 years ago
James Cammarata
ecd5eb902d
Adding unit tests for ConnectionInformation (v2)
10 years ago
James Cammarata
9921a1d2be
Unit tests for base strategy class (v2)
10 years ago