James Cammarata
830225d9c1
Fix errors in subelements lookup plugin and associated tests (v2)
10 years ago
Jan Losinski
dcb54d9657
Add integration test to verify #10073
...
In issue #10073 a misbehaviour in literal handling for inline lookup
arguments that can cause unexpected behaviur was reported. This
integration testcase reproduce the problem.
After applying pull request #10991 the issue is fixed and the test
passes.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
10 years ago
Serge van Ginderachter
9b646dea41
Add optional 'skip_missing' flag to subelements
10 years ago
James Cammarata
1ca8cb8553
Fixing up v2 unit tests
10 years ago
Toshio Kuratomi
f9f8af06fc
Change asserts to assertIsInstance for better error messages
10 years ago
Matt Martz
a0fc8bb0bd
Testing additions and fixes
...
* Fix import pathing for units.mock
* Add some additional requirements
* Use compileall to test compatiblity with different python versions
10 years ago
James Cammarata
8f504dacdd
Merge branch 'devel' into v2_final
...
Conflicts:
lib/ansible/modules/core
v2/ansible/modules/core
v2/ansible/modules/extras
10 years ago
Brian Coca
1071fa12ca
Merge pull request #10908 from resmo/feature/cloudstack-tests
...
cloudstack: integration tests
10 years ago
Brian Coca
4d357a73f6
Merge pull request #10868 from jaypei/devel
...
Add lineinfile integration tests for quoted string
10 years ago
James Cammarata
ce3ef7f4c1
Making the switch to v2
10 years ago
Rene Moser
0588a0fdd9
cloudstack: integration tests
10 years ago
Toshio Kuratomi
da5e201b07
Change python-q into sharutils as the epel repo for centos6 is being funky.
10 years ago
Toshio Kuratomi
6a985b9c6b
Add Fedora mysql vars so we get mariadb rather than mariadb-galera
10 years ago
Toshio Kuratomi
3ccc2ae299
Fix include test to keep type
10 years ago
Toshio Kuratomi
974731bec0
Fix filename of output file
10 years ago
Toshio Kuratomi
8d0ceeca91
Make template test work with both py2.6 and 2.7+
10 years ago
Toshio Kuratomi
fb96173d10
to_nice_json filter no longer has a trailing space when formatting dicts
10 years ago
jaypei
288fe1179a
Add lineinfile integration tests for quoted string
...
Reference #10864
10 years ago
Carlos E. Garcia
cfbfd38723
just a few spelling error changes
10 years ago
Toshio Kuratomi
6935d467eb
Add tests for yum module taking lists of packages in various formats
10 years ago
Toshio Kuratomi
a0def30c34
Add integration test for unarchive filelist feature
10 years ago
Toshio Kuratomi
aab681bc2b
Update core and extras module refs and add tests for an unarchive
...
problem that the update fixes:
https://github.com/ansible/ansible-modules-core/issues/1064
10 years ago
Toshio Kuratomi
ed601f964d
Merge pull request #10683 from timsutton/remove-old-git-integration-test
...
Git integration test: remove test for ambiguous .git/branches dir
10 years ago
Timothy Sutton
5f1ba589a5
Git integration test: remove test for ambiguous .git/branches dir
...
- '.git/branches' does not always exist, but the git integration
tests always checks for this directory's existence so it always
fails
- more info:
- http://stackoverflow.com/questions/10398225/what-is-the-git-branches-folder-used-for
10 years ago
Brian Coca
67512aeeb6
Merge pull request #10618 from jder/force-handlers
...
Fix --force-handlers, and allow it in plays and ansible.cfg
10 years ago
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.
10 years ago
Chris Church
42bd640d14
Update win_user tests to set a group on user creation.
10 years ago
Chris Church
56f4bf44f5
Add integration tests for win_user module.
10 years ago
Jesse Rusak
652cd6cd5e
Fix --force-handlers, and allow it in plays and ansible.cfg
...
The --force-handlers command line argument was not correctly running
handlers on hosts which had tasks that later failed. This corrects that,
and also allows you to specify force_handlers in ansible.cfg or in a
play.
10 years ago
Toshio Kuratomi
aaa25eb75c
Make run_command() work when we get byte str with non-ascii characters (instead of unicode type like we were expecting)
...
Fix and test.
Fixes #10536
10 years ago
Brian Coca
c49685b753
removed debug play from tests
10 years ago
Brian Coca
a53cf9d6fa
now correctly aplies add_host passed variables last to override existing vars.
10 years ago
Toshio Kuratomi
e73b945900
Merge pull request #10112 from jsmartin/ec2_asg_rolling_integration_tests
...
Adds integration tests for new ec2_asg features
10 years ago
Toshio Kuratomi
98db6a232d
Have selinux allow docker<=>nginx communication
10 years ago
Toshio Kuratomi
3c52c36629
Okay, let's see if these pauses are enough to get this passing
10 years ago
Toshio Kuratomi
2a967879fb
Fix the removal of busybox image
10 years ago
Toshio Kuratomi
c2fb0b8f9d
Some debugging for why docker tests are failing in jenkins
10 years ago
Toshio Kuratomi
f4c1260d03
Add more tests for private docker registries
10 years ago
Toshio Kuratomi
259744d5f4
Remove debug statements
10 years ago
Toshio Kuratomi
2cfeec3683
Add tests using a docker private registry
10 years ago
Toshio Kuratomi
9e14471471
And ran into a different problem with centos6. Sigh.
10 years ago
Toshio Kuratomi
85e137bbad
Attempt to enable docker tests for rhel/centos6 as well
10 years ago
Toshio Kuratomi
f8ec1451ea
Would help if I added these files in the right directory
10 years ago
Toshio Kuratomi
23291e8d8c
Ugh, looks like very few distros have the proper packages to run the docker module.
...
break up the tests so that we can maybe run this on at least one
platform
10 years ago
Toshio Kuratomi
a64de2e000
Initial test of the docker module
10 years ago
James Laska
60acdee0dc
Enable assert_raises_regexp on py26
10 years ago
Toshio Kuratomi
f05cda6ffc
Comma is also dependent on position within the hash
10 years ago
Brian Coca
74bf59082d
fixed and reintroduced syncronize test, fakerunner object needed become_method to be it's default 'sudo'
10 years ago
Toshio Kuratomi
644e50fe34
Hash randomization makes one of the heuristic_log_sanitize checks not work.
...
Nothing we can do, when it sanitizes ssh_urls it's simply overzealous.
10 years ago
Toshio Kuratomi
4710a07fb0
Test case for #10426
10 years ago