Commit Graph

723 Commits (493907665b536ca183518e425573a1351ecff6b1)

Author SHA1 Message Date
Toshio Kuratomi ffb281d96c Merge pull request #9600 from msabramo/make_AnsibleError_a_plain_ol_exception
Make AnsibleError a plain ol' exception
9 years ago
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
9 years ago
Toshio Kuratomi 68c99a12b3 Merge pull request #10346 from lekum/find_plugin_bugfix
Bug fix: Search only for files as candidates
9 years ago
Toshio Kuratomi 9399290cca Proper git commit of the new integration test 9 years ago
Toshio Kuratomi 89159951dc Fix name of a task containing a template causing traceback
Workaround for #10321 Need to fix better in v2
9 years ago
Alejandro Guirao b8cf131375 Bug fix: Search only for files as candidates 9 years ago
Toshio Kuratomi e146245a0d Integration test for #10300 9 years ago
Brian Coca c81d981164 Merge pull request #10183 from bcoca/tag_control
adds complex tag management
9 years ago
Brian Coca 1cb47c807e changed fetch test to match new functionality 10 years ago
Brian Coca 8872bba21f rearranged math filters 10 years ago
Brian Coca 2642738646 changed jsonify test to ignore whitespace 10 years ago
Toshio Kuratomi 9bb8e60ed1 Merge pull request #10269 from danrue/unarchive_creates_behavior
Make behavior consistent when using 'creates' option with modules
10 years ago
Toshio Kuratomi f1f176d86b Merge pull request #10266 from sivel/rax-cbs-test-size-fix
rax_cbs: Remove explicit msg match for invalid size in integration tests
10 years ago
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.
10 years ago
Matt Martz 1d0ceb37a4 Remove explicit msg match for invalid size 10 years ago
Brian Coca bc5d0a8cd4 fixed jsonify test 10 years ago
Brian Coca 1861be8f31 Merge pull request #9957 from hfinucane/apt-deb-tests
Add tests for using .deb files
10 years ago
Toshio Kuratomi 8f05e4eaaf Tests for: https://github.com/ansible/ansible-modules-core/issues/778 10 years ago
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
10 years ago
Brian Coca 5f2d5abeea ensure proper strings/unicodestrings for passwords
updated to correct to_bytes function
removed old to_bytes/to_unicode and repointed clients to new location
fixed unicode test
10 years ago
Matt Martz be6e49dd1f Add tests for rax_cdb_database 10 years ago
Matt Martz 952aa0c2d8 Don't hardcode list of delete functions to loop through 10 years ago
Matt Martz 9485d82eca Add tests for rax_cdb 10 years ago
Matt Martz 29cd7e3fc1 Add tests for rax_identity 10 years ago
Matt Martz 74f4d186cc Add tests for rax_cbs_attachments 10 years ago
Matt Martz 5e00e72f7a Remove unecessary prep tasks 10 years ago
Matt Martz 3ae1014fd3 Add tests for rax_cbs 10 years ago
Matt Martz f01ae9f509 Add test_rax_network role 10 years ago
Matt Martz e54c45ee6d Add test_rax_keypair role 10 years ago
Matt Martz abac45dafc Add test_rax_meta role 10 years ago
Matt Martz 9878ebf0ee Add tests for rax instance_ids with state=absent 10 years ago
Matt Martz 340b845c38 Add test_rax_facts 10 years ago
Matt Martz dab9c30584 Add some extra vars and create a dependent role prepare_rax_tests 10 years ago
Matt Martz 5a862328f0 Add test_rax_clb_nodes 10 years ago
Matt Martz b151c7ffac Add some additional output to cleanup_rax.py 10 years ago
Matt Martz b8e7211661 Update rax_clb tests for fixes in the module 10 years ago
Matt Martz 7ba7e3bd69 Add tests for rax_clb 10 years ago
Brian Coca 788889225d Merge pull request #10078 from sgargan/consul
Ansible support for Consul
10 years ago
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
10 years ago
Toshio Kuratomi 4902c06304 Obfuscate passwords in more places where it is displayed 10 years ago
Brian Coca 07dfbaedc3 Merge pull request #9602 from cchurch/powershell_splatting
Handle PowerShell parameters passed via splatting
10 years ago
Toshio Kuratomi 930bdd1f2f Better names for the test_binary tests 10 years ago
Toshio Kuratomi 5d1e468bda Don't bash TMPDIR env var unnecessarily. Other programs might rely on it 10 years ago
Toshio Kuratomi 5b279c1c15 Fix for v1 handling of unicode extra-vars 10 years ago
Toshio Kuratomi bd7ac7fd7d Error message has changed; scrape the new message 10 years ago
Marc Abramowitz 372a29744b Make AnsibleError a plain ol' exception
Python's Exception constructor already takes a `message` as a parameter,
which you can then get at by doing str(e) (e.message was deprecated).

The reason I bothered to make this change was because I was debugging
with pdb and I noticed that AnsibleErrors don't give useful information
in pdb (probably because they don't have a __repr__ method that prints
the `msg` attribute).

    (Pdb) c
    > /Users/marca/dev/git-repos/ansible/lib/ansible/runner/__init__.py(599)_executor()
    -> msg = str(ae)
    (Pdb) ae
    AnsibleError()
10 years ago
Toshio Kuratomi fef435cc2a Correct typo 10 years ago
Toshio Kuratomi 0eabf3bb99 Change subversion tests -- export test didn't test exporting before 10 years ago
Toshio Kuratomi eebba11558 Remove the build-dep change test. Doesn't seem like there's a way to do that. 10 years ago
Toshio Kuratomi a6a911d2ed We changed the way build-dep is specified in the module; also change it in the tests 10 years ago