Toshio Kuratomi
1cc83dd0d9
Make tests that use kennethreitz retry.
9 years ago
James Cammarata
73a0153b8e
Fix typo in integration test runner role
9 years ago
James Cammarata
0c154e81f0
Make integration tests run in parallel with async
9 years ago
Toshio Kuratomi
f2364ecf5f
Add a Fedora latest host into the mix
9 years ago
James Cammarata
1debc2da44
Do a full yum update to make sure packages are latest version
...
For the deps setup of integration tests, as we sometimes see odd
errors we can't reproduce, which may be related to slightly out of
date package dependencies.
9 years ago
James Cammarata
44e30e49dd
Add awk to integration test deps list
9 years ago
Toshio Kuratomi
a391d6f89a
Add state=latest to pip install of pycrypto
9 years ago
James Cammarata
3143b352c5
Add ca-certificates update to the integration deps playbook
9 years ago
Toshio Kuratomi
1f3eec293b
Install an updated version of pycrypto on Ubuntu12 from pip
9 years ago
James Cammarata
12c0bb9414
Use --source instead of -e for awk in integration Makefile
9 years ago
Toshio Kuratomi
c5eda277ac
Fix get_url tests in light of distros backporting SNI support
9 years ago
Toshio Kuratomi
8c6f56f982
kennetreitz.org times out but www.kennethreitz.org is fine
9 years ago
Toshio Kuratomi
ce1febe28b
debug line needs var not msg
9 years ago
Brian Coca
8db4415e2e
changed test to use filter for accurate reporting
9 years ago
James Cammarata
26bbabcfba
Consolidating package lines for virtualenv install in test deps integration
9 years ago
James Cammarata
cf3d503f79
Moving apt cache update to top to ensure cache is updated before deps installed
9 years ago
James Cammarata
0b1ad8d490
Switch virtualenv dep installation from pip to package manager
9 years ago
James Cammarata
dd3d04e96a
Adding pip install of virtualenv to test deps integration role
9 years ago
James Cammarata
5fa93ef8fc
Merge pull request #13477 from chrismeyersfsu/jenkins-playbooks
...
Jenkins playbooks
9 years ago
James Cammarata
d7f2f606e1
Add has_hostkey to mock objects to fix broken unit tests
9 years ago
James Cammarata
857456ea5f
Fixing template integration test for python 2.6 versions
...
No longer immediately fallback to to_json if simplejson is not installed
9 years ago
Toshio Kuratomi
fffd29d1ab
Update mysql setup to handle installing mysql with dnf too.
9 years ago
James Cammarata
6109f70397
Attempt at fixing strategy unit test failures on py2.6 and py3
9 years ago
Toshio Kuratomi
1116bc6ca6
Merge pull request #13191 from Jmainguy/mysql
...
Add shared connection code for mysql modules
9 years ago
Jonathan Mainguy
34e88e48a5
Add shared connection code for mysql modules
9 years ago
Toshio Kuratomi
375eb501b3
Update url to site that has an invalid certificate
9 years ago
Michael Scherer
a7ac98262d
Make module_utils.known_hosts.get_fqdn work on ipv6
9 years ago
Toshio Kuratomi
457f86f61a
Minor: Correct type pyhton => python
9 years ago
Toshio Kuratomi
fc19ad21ef
Merge pull request #13494 from Jmainguy/msyql_hash_tests
...
add tests for encrypted hash mysql_user
9 years ago
Jonathan Mainguy
49dc9eea16
add tests for encrypted hash mysql_user
9 years ago
James Cammarata
35015aaa4a
Merge pull request #13529 from mscherer/add_tests_known_hosts
...
Add tests for ansible.module_utils.known_hosts
9 years ago
James Cammarata
279c5a3596
Cleanup strategy tests broken by new forking strategy
9 years ago
Michael Scherer
3c4d2fc6f2
Add tests for ansible.module_utils.known_hosts
9 years ago
James Cammarata
97554fc222
Fixing filter test for extract to use proper group
9 years ago
James Cammarata
c402325085
Fixing up docker integration tests a bit
9 years ago
Toshio Kuratomi
04fc3f118f
Code smell test for specifying both required and default in FieldAttributes
9 years ago
Chris Meyers
8d66dcda21
remove .gitignore
9 years ago
Chris Meyers
f16628ffec
symbolic link role for testing
9 years ago
Chris Meyers
57391f49ba
removed ansible_python_interpreter
...
* added missed renames of ansible_deps to ansible_test_deps
* removed acidential inventory.dynamic file
* modified README for ansible_test_deps role
9 years ago
Chris Meyers
822624d061
rename role ansible_deps to ansible_test_deps
9 years ago
Chris Meyers
05c8bb79f8
playbook that Ansible jenkins runs moved into core
...
The playbook is already running in jenkins and works. This moves the
assets into core for ease of maintenance going forward.
9 years ago
James Cammarata
750adbaa27
Changing up how host (in)equality is checked
...
Fixes #13397
9 years ago
Toshio Kuratomi
cfeef81303
For now, skip tests of module_utils/basic functions that are failing on
...
py3 (these are only run on the target hosts, not on the controller).
9 years ago
Brian Coca
7d073bdd17
Merge pull request #13345 from amenonsen/extract
...
Add an 'extract' filter
9 years ago
Toshio Kuratomi
e00012994e
Also some unicode tests for return_values()
9 years ago
Toshio Kuratomi
5fdfe6a0f2
Add some test data that has unicode values
9 years ago
Toshio Kuratomi
ac54ac618c
Something's strange... let's see if python2.6 is really the same now...
9 years ago
Toshio Kuratomi
eb7db067f9
Fix template test results on python2.6
9 years ago
Abhijit Menon-Sen
8cf1815867
Add an 'extract' filter
...
At its most basic, this is nothing more than an array or hash lookup,
but when used in conjunction with map, it is very useful. For example,
while constructing an "ssh-keyscan …" command to update known_hosts on
all hosts in a group, one can get a list of IP addresses with:
groups['x']|map('extract', hostvars, 'ec2_ip_address')|list
This returns hostvars[a].ec2_ip_address, hostvars[b].ec2_ip_address, and
so on. You can even specify an array of keys for a recursive lookup, and
mix string and integer keys depending on what you're looking up:
['localhost']|map('extract', hostvars, ['vars','group_names',0])|first
== hostvars['localhost']['vars']['group_names'][0]
== 'ungrouped'
Includes documentation and tests.
9 years ago
Brian Coca
c03afccc05
reformated test, changed big assert to with_items
...
much easier to see the individual condition that causes the failure
when using with_items and evaluating each part of the assert individually
9 years ago