Brian Coca
35a5fe85f0
shell + become fixes
...
1 less level of shell + quoting
simplified become commands, less quote and shell
9 years ago
James Cammarata
94afe2f0de
Fix for copy test as ansible_ssh_user is not set by default now
9 years ago
James Cammarata
7a8520ac1a
Fixing role dependency chain creation
...
The dep chain for roles created during the compile step had bugs, in
which the dep chain was overwriten and the original tasks in the role
were not assigned a dep chain. This lead to problems in determining
whether roles had already run when in a "diamond" structure, and in
some cases roles were not correctly getting variables from parents.
Fixes #14046
9 years ago
Toshio Kuratomi
849def8d6e
Squashing was occuring even though pkgs didn't have a template that would be affected by squash
...
This broke other uses of looping (looping for delegate_to in the
reported bug)
Fixes #13980
9 years ago
Brian Coca
97cd0bc803
fixed unit test to match new output of become/su
9 years ago
Sergii Korochkin
c52a35ff34
[hotfix] add missed playbook file
9 years ago
Sergii Korochkin
16ee2090bd
Adding support for scm-based role source urls (incl. integration test to cover it)
9 years ago
Brian Coca
8647fdc7f2
go back to defaulting wrapping commands in shell
...
this was taken out in an effort to default to the user's shell but creates issues as this is not known ahead of time
and its painful to set executable and shell_type for all servers, it should only be needed for those that restrict the user
to specific shells and when /bin/sh is not available. raw and command may still bypass this by explicitly passing None.
fixes #13882
still conditional
9 years ago
James Cammarata
0d2a9d3f53
Relocate use of ERROR to display class, to avoid doubling up
9 years ago
Toshio Kuratomi
63404821da
rework run_command's env setting to not change os.environ for the rest of the module.
...
New param to run_command to modify the environment for just this invocation.
Documentation and comment adjustments.
9 years ago
Brian Coca
c06b2e4622
correctly deals with non serializable type
...
combine_vars shoudl really be data types, but some just get in
in test, add dict to mock and avoid combine_vars using object
9 years ago
Toshio Kuratomi
f53cb5f63e
Integration tests for https://github.com/ansible/ansible-modules-core/pull/558
9 years ago
Toshio Kuratomi
a8f160d2fd
More fixes for unicode handling in the connection plugins.
...
Tested that ssh, docker, local, lxc-libvirt, chroot all work with the
updated unicode integration test.
9 years ago
Toshio Kuratomi
add2e9cbd1
Fix problems with non-ascii values passed as part of the command to connection plugins
...
@drybjed discovered this with non-ascii environment variables and
command line arguments to script and raw module.
9 years ago
Rene Moser
369ed9feed
cloudstack: test_cs_instance: more integration tests
...
cloudstack: extend test_cs_instance addressing recovering
cloudstack: test_cs_instance: add tests for using display_name as indentifier.
9 years ago
Toshio Kuratomi
dd59fc176e
Going to do this in the connection plugin
...
Revert "Fix make tests-py3 on devel. Fix for https://github.com/ansible/ansible/issues/13638 ."
This reverts commit 725e40c5e6
.
9 years ago
Brian Coca
2786908bac
fixed tests to follow new invocation structure
...
also added maxdiff setting to see issues clearly when they happen
9 years ago
Yannig Perré
725e40c5e6
Fix make tests-py3 on devel. Fix for https://github.com/ansible/ansible/issues/13638 .
9 years ago
James Cammarata
b0e7ea78af
Actually disable parallel makes for integration runner
9 years ago
James Cammarata
37908735d4
Dropping instance size back down since we're not doing parallel builds
9 years ago
James Cammarata
c0248873da
Integration test runner tweaks
9 years ago
James Cammarata
75695f5c70
Kick up the integration runner test image size
9 years ago
James Cammarata
0a6bc57fa5
Parallelize make command for integration test runner
...
Also adds a new var, used by the prepare_tests role, to prevent it from
deleting the temp test directory at the start of each play to avoid any
potential race conditions
9 years ago
Brian Coca
c605cd37f6
allow for non standard hostnames
...
* Changed parse_addresses to throw exceptions instead of passing None
* Switched callers to trap and pass through the original values.
* Added very verbose notice
* Look at deprecating this and possibly validate at plugin instead
fixes #13608
9 years ago
James Cammarata
81f09f3fbd
Disable docker test for Fedora, due to broken packaging
9 years ago
James Cammarata
b77d834239
Uncomment docker test for stable-2.0
9 years ago
James Cammarata
7607e55a5a
Save output of integration test results to files we can archive
9 years ago
Matt Clay
ce17557b84
Fixed import typo for memcache module in tests.
...
The typo caused the test for the memcached cache plugin to be skipped
even when the necessary memcache python module was installed.
9 years ago
Toshio Kuratomi
80e109e1ad
And change the task a little more since different shlex versions are handling the quotes differently
9 years ago
Toshio Kuratomi
fdc562e3c3
Fix test playbook syntax
9 years ago
Toshio Kuratomi
1dcfd7ba02
Since the velox test server seems to be dropping using iptables to drop requests from aws, test via a different website instead
9 years ago
James Cammarata
9cfa2d7e28
Fixing bugs in conditional testing with until and some integration runner tweaks
9 years ago
Toshio Kuratomi
5bd01c09d6
Troubleshooting has reduced us to this
9 years ago
Toshio Kuratomi
61bd0e1310
Fix the fedora host detection
9 years ago
Toshio Kuratomi
bb1047c483
What is going on here
9 years ago
James Cammarata
c2a29a01a2
Removing update all for test deps, it didn't fix the problem
9 years ago
James Cammarata
6a1ebaa1bc
Fix typo in integration test runner role
9 years ago
Toshio Kuratomi
1d1a04008e
Update mysql setup to handle installing mysql with dnf too.
9 years ago
James Cammarata
1cde02058f
Make integration tests run in parallel with async
9 years ago
Toshio Kuratomi
48675550bf
Try updating the centos7 image to a newer version (trying to resolve issue being unable to connect to some webservers)
9 years ago
Toshio Kuratomi
3955ea5a8a
Fixes for tests that assumed yum as package manager for systems that
...
have dnf
9 years ago
Toshio Kuratomi
454c8ff5b8
Switch from yum to package when installing sudo so that dnf is handled as well
9 years ago
Toshio Kuratomi
d2bf615780
Fix unittests for return of invocation from fail_json and exit_json
9 years ago
Toshio Kuratomi
de9517dcc8
Also need redhat-rpm-config to compile pycrypto
9 years ago
Toshio Kuratomi
bef2b70eae
Make sure that yum is present on redhat family systems (makes things also work on fedora systems where dnf is the default)
9 years ago
Toshio Kuratomi
9689f00bb1
Add a Fedora latest host into the mix
9 years ago
James Cammarata
2f0e8d9654
Make integration runner ec2 add_hosts use valid host names
9 years ago
Toshio Kuratomi
6d9235e36d
Fix the fedora host detection
9 years ago
Toshio Kuratomi
eb606cc18b
What is going on here
9 years ago
Toshio Kuratomi
85ef768d51
Bugfix the fedora 23 install task
9 years ago