Commit Graph

6864 Commits (a582664bc659f2e193aef2a4792e3d4adf54f37f)

Author SHA1 Message Date
Brian Coca a582664bc6 fix typo 10 years ago
Brian Coca 08ce27edfb fixed method signature as per #15668 10 years ago
chouseknecht bea94efd73 Add aliases 10 years ago
chouseknecht 92f058b1f5 Updated doc fragment to be consistent with the getting started guide. 10 years ago
chouseknecht 8f31634977
Update submodules 10 years ago
chouseknecht 688a7d3668
Updating submodules 10 years ago
chouseknecht 8bef5ccae9
Updating submodules 10 years ago
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
10 years ago
Dag Wieers 5a9e826647 Rename function bool() as it is a Python built-in function (#15651) 10 years ago
Toshio Kuratomi 3c42724d96 Update extras submodules 10 years ago
Toshio Kuratomi 9535feb90a Update submodule ref 10 years ago
Toshio Kuratomi 10c3472699 Handle "/usr/bin/env python" style ansible_*interpreter settings.
Fixes #15635
10 years ago
Brian Coca b6c59f89d2 added common azure tags fragment 10 years ago
Toshio Kuratomi d3de771d2e Update submodule ref 10 years ago
Toshio Kuratomi 07e0fceb61 Some beginning python3 porting for urls.py 10 years ago
Toshio Kuratomi caa8fffa01 Fix traceback in fetch_urls when status code is in info as well as the error. 10 years ago
James Cammarata 5954a82dd6 New release v2.1.0.0-0.1.rc1 10 years ago
James Cammarata 7f7e010a32 Submodule update for stable-2.1 branch 10 years ago
nitzmahone 8c27018038 update submodule refs 10 years ago
Brian Coca 0652fa0ce6 ran dos2unix and renamed tags cannonical option 10 years ago
Toshio Kuratomi 008bde91a8 Update submodule refs 10 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
10 years ago
Chris Houseknecht 2790929e73 Fix bugs from API version 1.20 testing. (#15586) 10 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
10 years ago
James Cammarata 50792f46a5 Submodule pointer update 10 years ago
Jonathan Davila 1999e71658 Added basic auth argument spec to utils (#15585) 10 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
10 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.
10 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
10 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
10 years ago
Toshio Kuratomi 2fd7f194c8 Convert byte strings to unicode strings in our task results (#15581)
Fixes #15367
10 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
10 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
10 years ago
Matt Davis 2becd79e5f Merge pull request #15314 from nitzmahone/win_reboot
add win_reboot action
10 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)
10 years ago
Tegan Snyder bf0da4aa3c add centrify dzdo escalation (#15219)
add dzdo context, and test
10 years ago
Adam Hamsik 2424d57868 Add sas_address and sas_device_handle to ansible disk device facts (#15201) 10 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
10 years ago
Brian Coca 0f9eaedfa9 added missing alias to docker doc fragment 10 years ago
Toshio Kuratomi 87d2345cf5 Merge pull request #15562 from abadger/ziploader-minor
Quite a few individually minor changes to ziploader
10 years ago
Toshio Kuratomi bdd73e31dc Have test-module clean up the local temp dir when it exits
Get test-module's debugger switch to do something useful with ziploader modules
10 years ago
Toshio Kuratomi 3ffd55ce7f Don't include "ansible" in the module output as there are a few files in the upper directory (args and the module) 10 years ago
Toshio Kuratomi 3c135ef3f2 Push debug files into a subdirectory to keep things cleaner.
We now have the ansible module directory, ansible_module_*.py script
file and the args file.  Makes sense to push them all into a separate
subdir.
10 years ago
Toshio Kuratomi e9553c975f Add debug usage to comments in the ziploader wrapper and don't strip comments if ANSIBLE_KEEP_REMOTE_FILES=1 10 years ago
Peter Sprygada 03a77e025d Merge pull request #15569 from privateip/local_action_junos_template
updates action plugin junos_template to guess file format
10 years ago
Peter Sprygada a1a732e24d updates action plugin junos_template to guess file format
This update will attempt to guess the file format based on the template
extension if the format argument isnt set.  It will also set the commit
comment to the task name if the comment isnt' explicitly defined.
10 years ago
Peter Sprygada ffd42118d9 Revert "add new action plugin junos_config" 10 years ago
Peter Sprygada cea6d858bc Merge pull request #15566 from privateip/junos
adds config_format to junos shared module
10 years ago
Peter Sprygada c4bd1c5a33 Merge pull request #15553 from privateip/local_action_junos_config
add new action plugin junos_config
10 years ago
Peter Sprygada c87300f9e7 adds check on config_format kwarg in junos
This adds a check to validate the arugment for config_format kwarg in
get_config.  If the specified format is not a valid option, the shared
module will call fail_json
10 years ago