Commit Graph

19180 Commits (c2efb0b7e640b4de3b2bab7a30b0930f2df5be9e)
 

Author SHA1 Message Date
Toshio Kuratomi c2efb0b7e6 Update submodule refs 8 years ago
Toshio Kuratomi a0f397eb6c Fix traceback in fetch_urls when status code is in info as well as the error. 8 years ago
Toshio Kuratomi d14d4fc72f Merge pull request #15221 from robinro/refactor_os_version_parsing
refactor distribution detection in facts.py
8 years ago
Robin Roth b861083dfb move machine_id back to Facts class 8 years ago
Robin Roth 5626c540ce refactor distribution version parsing
* split code as separate class
* split different distributions as individual functions
* keep program logic mostly identical (for now)
* increase readability, reduce complexity/indentation
* make future testing/refactoring easier
* step towards making distribution parsing independent of the Facts class
* add some changes to make facts.py python3 parsable
8 years ago
Abhijit Menon-Sen 6b0710dde3 Merge pull request #15612 from dflock/patch-2
Improve grammar for 'Setting any var or directive makes no implications' note
8 years ago
Abhijit Menon-Sen a76df2c67f Merge pull request #15613 from dflock/patch-3
Spelling mistake: reasable -> readable
8 years ago
Duncan Lock a1f4b4eca9 Spelling mistake: reasable -> readable 8 years ago
Duncan Lock 014dec6bbb Improve grammar for 'Setting any var or directive makes no implications' note.
'makes no implications on the values of the other' is a clumsy and verbose way of saying 'independent'.
8 years ago
James Cammarata 8103793b55 Version bump to 2.2.0 for devel 8 years ago
Peter Sprygada 7dd4dd2e2e update CHANGELOG with network modules 8 years ago
nitzmahone 8c27018038 update submodule refs 8 years ago
nitzmahone 93ca406c9d windows changelog updates 8 years ago
James Cammarata 5727806b05 Updating CHANGELOG for 2.1
Also backported CHANGELOG/RELEASES entries from stable branches.
8 years ago
Brian Coca 0652fa0ce6 ran dos2unix and renamed tags cannonical option 8 years ago
nikut 54440a30c0 doc fix for delegate_to / ansible_host (issue #15546) (#15605) 8 years ago
Toshio Kuratomi 008bde91a8 Update submodule refs 8 years ago
Toshio Kuratomi e4a1622f53 Do not check docker or azure module_utils code for py2.4 compat (the libs require py2.6+) 8 years ago
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
8 years ago
Dougal Matthews e2640e9e61 Correct the spelling of "overridden" (#15598) 8 years ago
Chris Houseknecht 826190e02e Merge pull request #15594 from chouseknecht/devel
Added additional azure modules.
8 years ago
chouseknecht 00b7668f6b
Added additional azure modules. 8 years ago
Dag Wieers 5d69a09fd7 Fix quoting issue in example (#15589) 8 years ago
Brian Coca 9ba8512ec6 added brook inventory plugin 8 years ago
Adrian Likins 9ad02f04d4 Add a .mailmap for 'shortlog' (#15588)
The email with the most commits is used as the
default for most of these.
8 years ago
Chris Houseknecht 2790929e73 Fix bugs from API version 1.20 testing. (#15586) 8 years ago
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
8 years ago
James Cammarata 50792f46a5 Submodule pointer update 8 years ago
Jonathan Davila 1999e71658 Added basic auth argument spec to utils (#15585) 8 years ago
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
8 years ago
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.
8 years ago
René Moser 57574881ae doc: add mongodb_parameter to changelog (#15573)
See https://github.com/ansible/ansible-modules-extras/pull/1596
8 years ago
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
8 years ago
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
8 years ago
Toshio Kuratomi 85bef402b1 Merge pull request #14614 from gundalow/test_binary
non-destructive says we should run test_binary at v2
8 years ago
Toshio Kuratomi 2fd7f194c8 Convert byte strings to unicode strings in our task results (#15581)
Fixes #15367
8 years ago
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.
8 years ago
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
8 years ago
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
8 years ago
Matt Davis 2becd79e5f Merge pull request #15314 from nitzmahone/win_reboot
add win_reboot action
8 years ago
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.
8 years ago
Brian Coca 783dc2f0f6 errors now print to stderr 8 years ago
Brian Coca c131af6384 added dzdo entry 8 years ago
Francisco Ros 574163c949 Brook inventory (#15264)
* Initial work on Brook.io dynamic inventory

* Handle error cases in Brook.io dynamic inventory

* Remove defaults from brook.ini

* Update Brook.io dynamic inventory for libbrookv0.3

Use authentication api to obtain a valid JWT from an API Token.

* Remove defaults from brook.ini
8 years ago
Peter Sprygada 2f411c9aa9 fix default REST ports for http and https in openswitch (#15580)
properly uses the right default ports for http (80) and https (443)
8 years ago
Justin Nemmers 1a49267898 Update Azure module notes (#15229)
SDK has been released, so let's say the right thing here.
8 years ago
Tegan Snyder bf0da4aa3c add centrify dzdo escalation (#15219)
add dzdo context, and test
8 years ago
Adam Hamsik 2424d57868 Add sas_address and sas_device_handle to ansible disk device facts (#15201) 8 years ago
James Cammarata 1211a0fa12 Fixing the way we iterate over child states for tasks
Previously we were first checking the fail/run state of the child
state for tasks/rescue/always portions of the block. Instead we are now
always recursively iterating over the child state and then evaluating
whether the child state is failed or complete before changing the failed/
run state within the current block.

Fixes #14324
8 years ago
Jorge Nerín 3a3e69f830 Fix substituting dots for underscores when using ips (#15578)
ec2.py was substituting the dots on ip addresses when not using hostnames like:
  "ec2": [
    "10_10_1_1", 

now it's:
  "ec2": [
    "10.10.1.1",
8 years ago