Commit graph

19189 commits

Author SHA1 Message Date
chouseknecht
8bef5ccae9
Updating submodules 2016-04-29 00:59:41 -04:00
Brian Coca
74b4d7a2ae API now connects to server lazily (#15632)
This should fix most issues with offline operation.

Fixes #14486
Fixes #13991

Alternate to #15363 and #15593
2016-04-28 23:28:49 -04:00
Dag Wieers
5a9e826647 Rename function bool() as it is a Python built-in function (#15651) 2016-04-28 14:42:21 -04:00
Toshio Kuratomi
3c42724d96 Update extras submodules 2016-04-28 08:31:11 -07:00
Toshio Kuratomi
069e032dcd Add git_config module to 2.1 changelog 2016-04-28 08:30:48 -07:00
Toshio Kuratomi
9535feb90a Update submodule ref 2016-04-28 08:15:29 -07:00
Chris Houseknecht
0b28f708c4 Update and fix typos in docker inventory docstrings. (#15616) 2016-04-28 07:27:06 -07:00
Toshio Kuratomi
10c3472699 Handle "/usr/bin/env python" style ansible_*interpreter settings.
Fixes #15635
2016-04-28 06:52:39 -07:00
Brian Coca
b6c59f89d2 added common azure tags fragment 2016-04-27 17:10:37 -04:00
Brett Inman
8222a83bcd Make -q flag totally quiet for env-setup.fish
The first echo and setup.py steps are not quiet and result in output that is annoying if your Fish is configured to source the file.
2016-04-27 12:33:45 -07:00
Toshio Kuratomi
430bef907a Fix for unittests on python2.6 or less 2016-04-27 10:46:35 -07:00
Toshio Kuratomi
d3de771d2e Update submodule ref 2016-04-27 10:42:25 -07:00
Toshio Kuratomi
459c4ec124 Remove the duplicate modstyle parameter 2016-04-27 10:38:41 -07:00
Robin Roth
1c447016c3 extend zypper integration tests (#15596)
* extend zypper integration tests

* fix caching issue of local RPMS on openSUSE 42.1 Leap
* add tests for simultaneous install/remove via prefixes +-
* test fail cases (rm patch or URL)
* test patch install (succes, unchanged second run, fail on wrong name)

* add test for pattern install
2016-04-27 10:38:34 -07:00
Toshio Kuratomi
41f5ce80fa Some algorithmic unittests for the apt and docker modules 2016-04-27 10:38:13 -07:00
Toshio Kuratomi
07e0fceb61 Some beginning python3 porting for urls.py 2016-04-27 10:37:16 -07:00
Toshio Kuratomi
caa8fffa01 Fix traceback in fetch_urls when status code is in info as well as the error. 2016-04-27 10:37:05 -07:00
James Cammarata
5954a82dd6 New release v2.1.0.0-0.1.rc1 2016-04-26 16:23:34 -04:00
James Cammarata
7f7e010a32 Submodule update for stable-2.1 branch 2016-04-26 16:18:29 -04:00
Peter Sprygada
7dd4dd2e2e update CHANGELOG with network modules 2016-04-26 13:06:14 -04:00
nitzmahone
8c27018038 update submodule refs 2016-04-26 09:51:16 -07:00
nitzmahone
93ca406c9d windows changelog updates 2016-04-26 09:49:35 -07:00
James Cammarata
5727806b05 Updating CHANGELOG for 2.1
Also backported CHANGELOG/RELEASES entries from stable branches.
2016-04-26 12:36:12 -04:00
Brian Coca
0652fa0ce6 ran dos2unix and renamed tags cannonical option 2016-04-26 11:27:01 -04:00
nikut
54440a30c0 doc fix for delegate_to / ansible_host (issue #15546) (#15605) 2016-04-26 11:18:06 -04:00
Toshio Kuratomi
008bde91a8 Update submodule refs 2016-04-26 07:24:27 -07:00
Toshio Kuratomi
e4a1622f53 Do not check docker or azure module_utils code for py2.4 compat (the libs require py2.6+) 2016-04-26 07:21:36 -07:00
Rob
bc859eec7e Add shared functionality to return list of security group IDs from list of names (#15054)
* Add shared functionality to return list of security group IDs from list of security group names - this functionality can be used by nearly all ec2 modules

* Improved doc string for get_ec2_security_group_ids_from_names function
2016-04-26 09:17:36 -04:00
Dougal Matthews
e2640e9e61 Correct the spelling of "overridden" (#15598) 2016-04-26 08:59:26 -04:00
Chris Houseknecht
826190e02e Merge pull request #15594 from chouseknecht/devel
Added additional azure modules.
2016-04-26 01:17:31 -04:00
chouseknecht
00b7668f6b
Added additional azure modules. 2016-04-26 01:13:47 -04:00
Dag Wieers
5d69a09fd7 Fix quoting issue in example (#15589) 2016-04-25 17:53:58 -04:00
Brian Coca
9ba8512ec6 added brook inventory plugin 2016-04-25 17:38:45 -04:00
Adrian Likins
9ad02f04d4 Add a .mailmap for 'shortlog' (#15588)
The email with the most commits is used as the
default for most of these.
2016-04-25 17:18:14 -04:00
Chris Houseknecht
2790929e73 Fix bugs from API version 1.20 testing. (#15586) 2016-04-25 16:07:24 -04:00
Nathaniel Case
250b975704 Clarify exception handling in net modules (#15507)
* Clarify exception handling in EOS

Also modify to EOS to standardize modules. It makes vimdiff a lot less angry

* Move IOS exception handling into Cli

* Move IOS-XR exception handling into Cli

* Move JUNOS exception handling into Cli

* Move NXOS exception handling into Cli

And reorganize to make it match the other modules

* Move OpenSwitch exception handling into Cli

More speculative restructuring here
2016-04-25 16:04:19 -04:00
James Cammarata
50792f46a5 Submodule pointer update 2016-04-25 15:58:44 -04:00
Jonathan Davila
1999e71658 Added basic auth argument spec to utils (#15585) 2016-04-25 14:55:39 -04:00
Matt Davis
8bf1c53b21 winrm connection tweaks for pywinrm (#15584)
added warnings for invalid kwargs
sniff supported authtypes (for new pywinrm)
use default authtypes (for old pywinrm)
error on unsupported authtype
allow no username/password to be specified (kerb SSO)
tested w/ old and new pywinrm
hacky CLIXML parsing of stderr
2016-04-25 14:20:27 -04:00
René Moser
4e0013d161 playbook, include: fix Unexpected Exception: 'NoneType' object has no attribute 'strip' (#15574)
If `include:` statement is used without argument, we get a traceback.
2016-04-25 13:40:49 -04:00
René Moser
57574881ae doc: add mongodb_parameter to changelog (#15573)
See https://github.com/ansible/ansible-modules-extras/pull/1596
2016-04-25 13:37:34 -04:00
Olivier GROSJEANNE
4647e8b74e HTTPError can also function as a non-exceptional file-like return value (#14915)
* HTTPError can also function as a non-exceptional file-like return value (the same thing that urlopen() returns)

* HTTPError - adding response to info dictionnary

* HTTPError - adding response to info dictionnary

* HTTPError - adding body response to info dictionnary
2016-04-25 13:21:45 -04:00
Jonathan Davila
f296d74329 Documentation fragment. To be used with modules that use basic auth. (#15582)
Supplies a doc fragment for:
- api_username
- api_password
- api_url
- validate_certs
2016-04-25 12:54:11 -04:00
Toshio Kuratomi
85bef402b1 Merge pull request #14614 from gundalow/test_binary
non-destructive says we should run test_binary at v2
2016-04-25 09:45:00 -07:00
Toshio Kuratomi
2fd7f194c8 Convert byte strings to unicode strings in our task results (#15581)
Fixes #15367
2016-04-25 12:35:25 -04:00
Allyson Bowles
3b96861b7c Refer to the play_host as remote instead of local (#15307)
It was pointed out on IRC that the "local machine" terminology is
confusing, since in this instance it refers to the host *against* which
Ansible is running, in contrast to the host *from* which Ansible is
running.
2016-04-25 12:16:28 -04:00
Robin Roth
f7c589b049 get ssh_keys without using distribution info (#15301)
* use list of possible directories directly instead of checking distribution info
* this could fail if someone has keys in one of the other directories, but there could also be custom ssh key directories, which
  are not checked at all
* this is work towards separating Facts from Distribution in facts.py
2016-04-25 12:15:35 -04:00
Darragh Bailey
be17ba67b2 Prevent race in key setup for accelerate daemon (#15299)
Ensure that initial setup in creating the key directory for ansible
accelerate mode keys, and generation/storage of the key for a
particular host are completed in a multiprocess safe manner.

Creating directories/files and then assigning permissions and contents
to them means that paths may exist and satisfy the os.path.exists()
method in python for other processes before they are usable.

Use a combination of locking around operations with use of unique named
files and an OS file system move to ensure that the conditions of
checking whether a file or directory exists, where it is potentially
created by another thread, will only succeed when the file has both the
correct contents and permissions.

Fixes #13850
2016-04-25 12:13:42 -04:00
Matt Davis
2becd79e5f Merge pull request #15314 from nitzmahone/win_reboot
add win_reboot action
2016-04-25 09:13:18 -07:00
Dag Wieers
cf958ca457 Add the encoding parameter to the options of csvfile (#15283)
I assume this ships with v2.1, if it would ship with e.g. v2.0.3.0 let me know.
2016-04-25 12:13:06 -04:00