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
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
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
e146245a0d
Integration test for #10300
2015-02-25 11:26:43 -08: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
Matt Martz
be6e49dd1f
Add tests for rax_cdb_database
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
Matt Martz
e54c45ee6d
Add test_rax_keypair role
2015-02-11 12:59:01 -06:00
Matt Martz
abac45dafc
Add test_rax_meta role
2015-02-11 12:59:01 -06:00
Matt Martz
9878ebf0ee
Add tests for rax instance_ids with state=absent
2015-02-11 12:59:01 -06:00
Matt Martz
340b845c38
Add test_rax_facts
2015-02-11 12:59:01 -06:00
Matt Martz
dab9c30584
Add some extra vars and create a dependent role prepare_rax_tests
2015-02-11 12:59:01 -06:00
Matt Martz
5a862328f0
Add test_rax_clb_nodes
2015-02-11 12:59:00 -06:00
Matt Martz
b8e7211661
Update rax_clb tests for fixes in the module
2015-02-11 12:59:00 -06:00
Matt Martz
7ba7e3bd69
Add tests for rax_clb
2015-02-11 12:59:00 -06:00
Brian Coca
788889225d
Merge pull request #10078 from sgargan/consul
...
Ansible support for Consul
2015-02-11 13:58:15 -05:00
Toshio Kuratomi
10df1b898c
Fix template module broken when modifying symlinks
...
Needed to clear unwanted parameters from both args and complex args when
calling file module.
Fixes #10208
2015-02-11 00:10:37 -08:00
Brian Coca
07dfbaedc3
Merge pull request #9602 from cchurch/powershell_splatting
...
Handle PowerShell parameters passed via splatting
2015-02-04 10:25:03 -05:00
Toshio Kuratomi
930bdd1f2f
Better names for the test_binary tests
2015-02-02 19:33:05 -08:00