Commit graph

13345 commits

Author SHA1 Message Date
Toshio Kuratomi 7c86db3187 Add KSH compat
cherry picked from https://github.com/ansible/ansible/pull/6899
2015-02-09 15:37:35 -08:00
Brian Coca 75d3c6b104 Merge pull request #10185 from bcoca/valut_editor_missing_err
better missing editor message
2015-02-09 18:16:57 -05:00
Brian Coca 2f2fe734df Merge pull request #10192 from bcoca/patch_action_plugin
support for patch module to have master as src
2015-02-09 18:08:34 -05:00
James Cammarata 31dd75de59 Fixing many bugs in v2
* delegate_to rudimentary support (still needs much more work)
* lots of other things
2015-02-09 16:56:38 -06:00
Toshio Kuratomi 402a6d0533 Explicitly close files opened by facts
Fixes #10157
2015-02-09 14:30:06 -08:00
Brian Coca 476b0f6d99 support for patch module to have master as src 2015-02-09 16:34:49 -05:00
Toshio Kuratomi 425dee1afa Close some file handles explicitly in facts.py
Helps control open file descriptor count with pypy (which is used with
one coreos + ansible example).  Part of a fix for
https://github.com/ansible/ansible/issues/10157
2015-02-09 13:06:33 -08:00
Toshio Kuratomi 9db17afc85 Update modules 2015-02-09 11:00:57 -08:00
Toshio Kuratomi d15eb066a1 Merge pull request #10178 from ansible/password-obfuscation
Obfuscate passwords in a variety of output
2015-02-09 10:21:12 -08:00
Toshio Kuratomi 4902c06304 Obfuscate passwords in more places where it is displayed 2015-02-09 10:13:13 -08:00
Brian Coca 76a5dd7f62 Merge pull request #10189 from boxofrad/devel
Ignore errors from `shutil.rmtree` when removing temporary directory
2015-02-09 10:17:05 -05:00
Brian Coca 9820165265 Merge pull request #10188 from simontite-capita-ti/patch-1
Update playbooks_delegation.rst
2015-02-09 10:14:34 -05:00
Brian Coca 68d45122c2 Merge pull request #10175 from funzoneq/devel
Make collins attributes more accessible
2015-02-09 09:47:03 -05:00
Brian Coca 01d3dc2e9d Merge pull request #10171 from brianpeiris/patch-1
Reformat and clarify YAML syntax descriptions
2015-02-09 09:31:48 -05:00
Brian Coca f384e0d8d3 Merge pull request #10174 from dago/solaris
Use termios instead of stty for compatibility
2015-02-09 09:24:35 -05:00
Daniel Upton 78fb13657a Ignore errors from shutil.rmtree when removing temporary directory 2015-02-09 13:33:48 +00:00
simontite-capita-ti 21094614c0 Update playbooks_delegation.rst
There's a space missing "hosts:127.0.0.1" should be "hosts: 127.0.0.1"
2015-02-09 11:05:21 +00:00
Brian Coca 8b7dc6bbfb better missing editor message
fixes #10182
2015-02-08 23:26:56 -05:00
Brian Coca 853733c1cd Merge pull request #10184 from mixpix3ls/ticket-9845
Fixing ticket 9845: man pages contain duplicate AUTHOR section
2015-02-08 23:11:29 -05:00
mixpix3ls 8866378e89 Fixing ticket 9845: man pages contain duplicate AUTHOR section 2015-02-08 22:04:18 -06:00
Arnoud Vermeer cc4c70120a Make a COLLINS['SOMETHING'] variable instead of ATTRIBS['0']['SOMETHING'] 2015-02-06 15:06:09 +01:00
Dagobert Michelsen 84718156e3 Use termios instead of stty for compatibility 2015-02-06 13:43:47 +01:00
Brian Peiris ae5f64c232 Update YAMLSyntax.rst 2015-02-05 11:16:39 -05:00
Brian Peiris 32a5dc22c6 Reformat description of a dictionary entry. 2015-02-05 11:13:33 -05:00
Toshio Kuratomi 8f06ba2bc1 Port https://github.com/ansible/ansible/pull/10162 (py-2.4 compat fix) to v2 tree 2015-02-04 09:46:25 -08:00
Toshio Kuratomi 3f97fc2ba6 Merge pull request #10162 from jonhadfield/fix_2.4_hashing
correct typo that breaks hashing on python 2.4.
2015-02-04 09:44:40 -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
Jon Hadfield 6874f5056d correct typo that breaks hashing on python 2.4. 2015-02-04 13:46:49 +00:00
Alexander Gubin 1968f99691 Wrong OS_FAMILY declaration for openSUSE 2015-02-04 09:16:32 +01:00
Toshio Kuratomi 019f74dced Update modules 2015-02-03 09:02:46 -08:00
Brian Coca 1b8d0b68a8 Merge pull request #10158 from bcoca/hosts_better_error
more resilient errors for bad host declarations in play
2015-02-03 10:33:47 -05:00
Brian Coca cbbe2f4e26 more resilient errors for bad host declarations in play
should fix #10148
2015-02-03 10:26:48 -05:00
Brian Coca 7ea2aff272 Merge pull request #9772 from jszwedko/allow-template-for-retries
Allow retries to be templatable
2015-02-03 07:08:22 -05:00
Toshio Kuratomi 930bdd1f2f Better names for the test_binary tests 2015-02-02 19:33:05 -08:00
Toshio Kuratomi 788e47b693 Correct filter specification 2015-02-02 19:21:26 -08:00
Toshio Kuratomi 8fd7f4b121 Wrap some filters so they return unicode.
The rules are -- if the filter returns str type and the str may contain
non-ascii characters then wrap it to convert to unicode type.  Not
needed if the function already returns unicode type or only returns
ascii characters
2015-02-02 19:11:12 -08:00
Toshio Kuratomi a04138a887 Add v2's unicode.py to utils so we can use unicode_wrap in the filter_plugins 2015-02-02 19:09:08 -08:00
Toshio Kuratomi cea2f2a7cf remove broken nad commented unicode conversion -- in v2, this is done when the data first enters ansible. 2015-02-02 19:08:10 -08:00
Toshio Kuratomi d50089ca9f Add a function to change output from a str to unicode 2015-02-02 18:28:47 -08:00
Toshio Kuratomi 5d1e468bda Don't bash TMPDIR env var unnecessarily. Other programs might rely on it 2015-02-02 16:17:40 -08:00
Toshio Kuratomi c655e91436 For now throw an exception if decoding a non-utf8 extra var 2015-02-02 14:14:18 -08:00
Toshio Kuratomi 5b279c1c15 Fix for v1 handling of unicode extra-vars 2015-02-02 14:12:16 -08:00
Toshio Kuratomi 1ed1af6cb4 Make extra_vars into unicode string type early
Fixes v2 for #10106
2015-02-02 13:58:21 -08:00
Toshio Kuratomi 6d788629a2 Be explicit about unicode str transformation
Fixes #10126
2015-02-02 13:37:31 -08:00
Toshio Kuratomi bd7ac7fd7d Error message has changed; scrape the new message 2015-02-02 12:05:01 -08:00
Toshio Kuratomi 97438f0039 Update the modules 2015-02-02 10:25:59 -08:00
Toshio Kuratomi b2c7b911bc v2/plugins/filter is now a symlink as it does not differ between v1 and v2 2015-02-02 10:25:09 -08:00
Toshio Kuratomi 03e213a272 Change the v2 filter plugins into a symlink to v1 as the plugins are the same for both 2015-02-02 10:25:09 -08:00
Toshio Kuratomi 0e5f86cce4 Import hash functions for filters from the new location so the plugins will work on v1 and v2 2015-02-02 10:25:09 -08:00
Toshio Kuratomi 1011959d88 Move the hashing util functions to their own file to mirror v2 2015-02-02 10:25:09 -08:00