Brian Coca
2281c455db
Merge pull request #13616 from resmo/for-ansible-stable-2.0
...
[stable-2.0] cloudstack: test_cs_instance: more integration tests
2015-12-21 13:45:29 -05:00
James Cammarata
54455a06e5
Disable docker test for Fedora, due to broken packaging
2015-12-20 21:32:37 -05:00
Rene Moser
b85b92ecdd
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.
2015-12-20 22:37:48 +01:00
Toshio Kuratomi
6963955cb4
And change the task a little more since different shlex versions are handling the quotes differently
2015-12-20 11:51:32 -08:00
Toshio Kuratomi
21ca0ce1ce
Fix test playbook syntax
2015-12-20 11:46:49 -08:00
Toshio Kuratomi
3792a586b5
Since the velox test server seems to be dropping using iptables to drop requests from aws, test via a different website instead
2015-12-20 11:34:57 -08:00
Toshio Kuratomi
8d7892cc7b
Done troubleshooting
...
Revert "Troubleshooting has reduced us to this"
This reverts commit 9abef1a1d7
.
2015-12-20 11:34:57 -08:00
Toshio Kuratomi
b90506341a
Fixes for tests that assumed yum as package manager for systems that
...
have dnf
2015-12-20 08:06:26 -08:00
Toshio Kuratomi
9abef1a1d7
Troubleshooting has reduced us to this
2015-12-19 12:39:48 -08:00
Toshio Kuratomi
1cc83dd0d9
Make tests that use kennethreitz retry.
2015-12-18 11:50:36 -08:00
James Cammarata
12c0bb9414
Use --source instead of -e for awk in integration Makefile
2015-12-17 20:53:11 -05:00
Toshio Kuratomi
c5eda277ac
Fix get_url tests in light of distros backporting SNI support
2015-12-17 17:51:42 -08:00
Toshio Kuratomi
8c6f56f982
kennetreitz.org times out but www.kennethreitz.org is fine
2015-12-17 11:46:26 -08:00
Toshio Kuratomi
ce1febe28b
debug line needs var not msg
2015-12-17 11:25:45 -08:00
Brian Coca
8db4415e2e
changed test to use filter for accurate reporting
2015-12-17 12:28:32 -05:00
James Cammarata
857456ea5f
Fixing template integration test for python 2.6 versions
...
No longer immediately fallback to to_json if simplejson is not installed
2015-12-16 18:22:22 -05:00
Toshio Kuratomi
fffd29d1ab
Update mysql setup to handle installing mysql with dnf too.
2015-12-16 14:06:51 -08:00
Toshio Kuratomi
1116bc6ca6
Merge pull request #13191 from Jmainguy/mysql
...
Add shared connection code for mysql modules
2015-12-16 10:47:49 -08:00
Jonathan Mainguy
34e88e48a5
Add shared connection code for mysql modules
2015-12-16 13:36:18 -05:00
Toshio Kuratomi
375eb501b3
Update url to site that has an invalid certificate
2015-12-16 09:41:01 -08:00
Toshio Kuratomi
457f86f61a
Minor: Correct type pyhton => python
2015-12-14 08:50:37 -08:00
Toshio Kuratomi
fc19ad21ef
Merge pull request #13494 from Jmainguy/msyql_hash_tests
...
add tests for encrypted hash mysql_user
2015-12-14 07:58:39 -08:00
Jonathan Mainguy
49dc9eea16
add tests for encrypted hash mysql_user
2015-12-14 10:12:06 -05:00
James Cammarata
97554fc222
Fixing filter test for extract to use proper group
2015-12-11 14:55:38 -05:00
James Cammarata
c402325085
Fixing up docker integration tests a bit
2015-12-10 13:10:59 -05:00
Brian Coca
7d073bdd17
Merge pull request #13345 from amenonsen/extract
...
Add an 'extract' filter
2015-12-03 11:19:06 -08:00
Toshio Kuratomi
ac54ac618c
Something's strange... let's see if python2.6 is really the same now...
2015-12-02 14:49:28 -08:00
Toshio Kuratomi
eb7db067f9
Fix template test results on python2.6
2015-12-02 10:32:10 -08:00
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.
2015-12-02 18:16:38 +05:30
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
2015-12-01 21:11:12 -08:00
Chris Church
f3476b556d
Add assertions for ansible_date_time in setup result.
2015-11-27 00:39:51 -05:00
James Cammarata
3c8c2fb090
Merge pull request #13208 from agx/zypper-integration-test
...
Add integration tests for zypper
2015-11-23 15:20:35 -05:00
James Cammarata
e62fb04a2e
Merge pull request #13229 from zarnovican/bza_fix_test_hg
...
test_hg fix: remove reference to "head"
2015-11-23 14:34:13 -05:00
James Cammarata
138068c56e
Merge pull request #13230 from zarnovican/bza_fix_test_svn
...
test_svn fix: remove hardcoded "~/ansible_testing/svn" path
2015-11-23 14:33:33 -05:00
Chris Church
272778f732
Modify task executor to reuse connection inside a loop. Fix WinRM connection to set _connected properly and display when remote shell is opened/closed. Add integration test using raw + with_items.
2015-11-23 11:53:05 -05:00
Brano Zarnovican
a30a52ef52
test_svn fix: remove hardcoded "~/ansible_testing/svn" path
2015-11-20 13:36:55 +01:00
Brano Zarnovican
5fc64deffe
test_hg fix: remove reference to "head"
...
ERROR! error while evaluating conditional: head.stat.isreg
This is remnant from earlier change 50e5d81777
which removed stat on head file..
2015-11-20 13:02:17 +01:00
Guido Günther
0821d251c8
Add integration tests for zypper
...
Modeled after the yum tests but also tests local package installations
as fixed with PR#1256.
This depends on PRs #1256 , #1261 and #1262 in ansible-modules-extra.
2015-11-18 18:25:43 +01:00
Brian Coca
e61882ca19
Merge pull request #13170 from robinro/integration_test_git_ansible-modules-core_pull_721
...
add test for changing git remote url
2015-11-16 14:53:47 -08:00
nitzmahone
349e072a74
fix for dynamic (add_host) hosts not available in hostvars
...
Looks like there are two pattern caches that need to be cleared for this to work- added the second one.
Added integration tests for add_host to prevent future regressions.
2015-11-16 10:53:10 -08:00
Will Thames
4f3430ebeb
Handle unexpected database presence
...
Check for database presence in a nice way, rather than
dropping the database.
Thankfully there was a syntax error in the previous
version, so no database would have been dropped.
There was no check for whether it succeeded or not.
2015-11-15 10:45:24 +10:00
Robin Roth
6cefdfe148
add test for changing git remote url
...
integration test for https://github.com/ansible/ansible-modules-core/pull/721
clone a repo from one url
clone an updated version of that repo from a new url
make sure the remote url and the working copy are updated
2015-11-14 17:03:41 +01:00
Brian Coca
5d645f3a8b
Merge pull request #13127 from willthames/test_become
...
Elevate privileges when checking for file existence
2015-11-12 22:35:01 -08:00
Brian Coca
206cc50bd9
breaks testing in non virtual envs, since env var can be used in those
...
cases removing it from here
2015-11-12 09:40:43 -08:00
Will Thames
5bb759e7ab
Elevate privileges when checking for file existence
...
Certain OSs default to home directories as 0700
Without elevating privileges, checking for file existence
fails.
2015-11-11 23:42:35 +10:00
James Cammarata
23ff08ee6b
Merge pull request #13016 from dvarrazzo/pip-vcs-changed
...
Added tests to verify pip installation with VCS urls
2015-11-05 08:16:12 -05:00
Will Thames
91b6004149
Allow blank lines and comments/spaces in galaxy spec files
...
Fixes #10641 again. (Regression)
Added test to discourage future such regression.
2015-11-04 15:36:20 +10:00
Daniele Varrazzo
542a430e84
Added tests to verify pip installation with VCS urls
...
The test reproduces:
- bug ansible/ansible#1705
- bug ansible/ansible-modules-core#1645
2015-11-03 14:54:40 +00:00
Brian Coca
c267e1906e
removed invocation from tests as it is only available on very very verbose mode
2015-10-31 13:00:53 -04:00
Chris Meyers
4b88cce6a1
update ansible_test_service checksum
2015-10-28 14:55:13 -04:00