Toshio Kuratomi
050c1b46b8
Change url so that we don't test https in the tests for file perms
2016-03-20 08:50:55 -07:00
Toshio Kuratomi
653f165028
Add integration test for #11821
2016-03-20 08:01:48 -07:00
Toshio Kuratomi
a4691991ad
Add support for SNI and TLS-1.1 and TLS-1.2 to the fetch_url() helper
...
Fixes #1716
Fixes #1695
Conflicts:
test/integration/roles/test_uri/tasks/main.yml
2015-07-20 09:40:30 -07:00
Brian Coca
e2c4cc70d6
added tests for sequence with a count of 1
...
now checks for stride being 0 so it does not skip counts of 1 but still skips counts of 0
fixes #11422
2015-07-03 13:34:03 -04:00
Toshio Kuratomi
e3e4f7af6b
Test is a bit different in v1 as the lookup generates a failure in v2 but a warning in v1
2015-06-15 16:52:36 -07:00
Toshio Kuratomi
968070729a
Add test that url lookup checks tls certificates
2015-06-15 16:46:29 -07:00
Jon Hawkesworth
0868679f13
Get-FileChecksum allways returns a string now,
...
and the test_win_copy integration tests that depend on the checksum
have been updated in this change too.
2015-06-10 20:48:15 -04:00
Toshio Kuratomi
8286253c81
Test on fields that exist
2015-05-28 17:02:01 -07:00
Toshio Kuratomi
9caedb1f63
Add test that validate_certs=no works
2015-05-28 15:38:44 -07:00
Toshio Kuratomi
be7c59c7bb
Make fetch_url check the server's certificate on https connections
2015-05-28 13:28:05 -07:00
Brian Coca
2816b8679b
fixed corner case when counting backwards, added test cases for count=0 and backwards counts
2015-05-22 12:14:17 -07:00
Jesse Rusak
d13646dcc5
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.
2015-04-13 10:20:11 -04:00
Toshio Kuratomi
a00056723f
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
2015-03-26 07:52:05 -07:00
Brian Coca
608496dbd3
removed debug play from tests
2015-03-20 11:24:35 -04:00
Brian Coca
e3e97f6e06
now correctly aplies add_host passed variables last to override existing vars.
2015-03-20 11:23:50 -04:00
Toshio Kuratomi
0551f36d6b
Have selinux allow docker<=>nginx communication
2015-03-19 13:53:35 -07:00
Toshio Kuratomi
cfda56908a
Okay, let's see if these pauses are enough to get this passing
2015-03-19 13:53:26 -07:00
Toshio Kuratomi
4009c053f7
Fix the removal of busybox image
2015-03-19 13:53:10 -07:00
Toshio Kuratomi
c571a0e6ea
Some debugging for why docker tests are failing in jenkins
2015-03-19 13:53:02 -07:00
Toshio Kuratomi
9082905a62
Add more tests for private docker registries
2015-03-19 13:52:54 -07:00
Toshio Kuratomi
f4878a2bec
Remove debug statements
2015-03-19 13:52:41 -07:00
Toshio Kuratomi
67a559ed2b
Add tests using a docker private registry
2015-03-19 13:52:33 -07:00
Toshio Kuratomi
cfc90dff4b
And ran into a different problem with centos6. Sigh.
2015-03-19 13:52:19 -07:00
Toshio Kuratomi
e02fbcdb0f
Attempt to enable docker tests for rhel/centos6 as well
2015-03-19 13:52:09 -07:00
Toshio Kuratomi
2fbfe5cdb2
Would help if I added these files in the right directory
2015-03-19 13:52:01 -07:00
Toshio Kuratomi
dc6a1f42af
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
2015-03-19 13:51:43 -07:00
Toshio Kuratomi
af90817622
Initial test of the docker module
2015-03-19 13:51:29 -07:00
Toshio Kuratomi
4941755851
Test case for #10426
2015-03-11 20:59:02 -07:00
Brian Coca
4459686099
fix tag test that broke with new tag info displayed in list tasks
2015-03-11 16:29:31 -04:00
Brian Coca
bce4bb2ce2
preliminary privlege escalation unification + pbrun
...
- become constants inherit existing sudo/su ones
- become command line options, marked sudo/su as deprecated and moved sudo/su passwords to runas group
- changed method signatures as privlege escalation is collapsed to become
- added tests for su and become, diabled su for lack of support in local.py
- updated playbook,play and task objects to become
- added become to runner
- added whoami test for become/sudo/su
- added home override dir for plugins
- removed useless method from ask pass
- forced become pass to always be string also uses to_bytes
- fixed fakerunner for tests
- corrected reference in synchronize action plugin
- added pfexec (needs testing)
- removed unused sudo/su in runner init
- removed deprecated info
- updated pe tests to allow to run under sudo and not need root
- normalized become options into a funciton to avoid duplication and inconsistencies
- pushed suppored list to connection classs property
- updated all connection plugins to latest 'become' pe
- includes fixes from feedback (including typos)
- added draft docs
- stub of become_exe, leaving for future v2 fixes
2015-03-10 17:42:52 -05:00
Toshio Kuratomi
a8c02b7049
Rework the shell quoting of remote checksumming
...
Instead of getting rid of pipes.quote, use pipes.quote and get rid of
the manually entered toplevel quotes. This should properly escape
backslashes, quotes, and other characters.
Also fix the new checksumming python "one-liner" for csh.
ansible_shell_type needs to be set to csh.
Fixes #10363
Fixes #10353
2015-03-02 15:42:18 -08:00
Toshio Kuratomi
9399290cca
Proper git commit of the new integration test
2015-02-26 14:53:51 -08:00
Toshio Kuratomi
89159951dc
Fix name of a task containing a template causing traceback
...
Workaround for #10321 Need to fix better in v2
2015-02-26 14:05:33 -08:00
Toshio Kuratomi
e146245a0d
Integration test for #10300
2015-02-25 11:26:43 -08:00
Brian Coca
c81d981164
Merge pull request #10183 from bcoca/tag_control
...
adds complex tag management
2015-02-25 10:36:11 -05:00
Brian Coca
1cb47c807e
changed fetch test to match new functionality
2015-02-20 11:32:10 -05:00
Toshio Kuratomi
9bb8e60ed1
Merge pull request #10269 from danrue/unarchive_creates_behavior
...
Make behavior consistent when using 'creates' option with modules
2015-02-17 23:04:26 -08:00
Dan Rue
787388ac30
Do not mark "skipped" when changed is false
...
When using the "creates" option with the unarchive module, set changed
to False if the file already exists. This behavior is consistent with
other modules which use "creates", such as command and shell.
2015-02-17 15:02:08 -06:00
Matt Martz
1d0ceb37a4
Remove explicit msg match for invalid size
2015-02-17 12:32:22 -06:00
Brian Coca
1861be8f31
Merge pull request #9957 from hfinucane/apt-deb-tests
...
Add tests for using .deb files
2015-02-16 19:15:34 -05:00
Toshio Kuratomi
8f05e4eaaf
Tests for: https://github.com/ansible/ansible-modules-core/issues/778
2015-02-16 07:12:18 -08:00
Brian Coca
65c08d1364
added tests
...
refactored task selection into method
list-tasks now uses common method of task selection
always is now skippable if specified in --skip-tags
2015-02-13 08:27:07 -05:00
Matt Martz
be6e49dd1f
Add tests for rax_cdb_database
2015-02-11 12:59:02 -06:00
Matt Martz
952aa0c2d8
Don't hardcode list of delete functions to loop through
2015-02-11 12:59:02 -06:00
Matt Martz
9485d82eca
Add tests for rax_cdb
2015-02-11 12:59:02 -06:00
Matt Martz
29cd7e3fc1
Add tests for rax_identity
2015-02-11 12:59:02 -06:00
Matt Martz
74f4d186cc
Add tests for rax_cbs_attachments
2015-02-11 12:59:01 -06:00
Matt Martz
5e00e72f7a
Remove unecessary prep tasks
2015-02-11 12:59:01 -06:00
Matt Martz
3ae1014fd3
Add tests for rax_cbs
2015-02-11 12:59:01 -06:00
Matt Martz
f01ae9f509
Add test_rax_network role
2015-02-11 12:59:01 -06:00