Commit Graph

8506 Commits (9c52f781c9a7a8052569e89903ad815bb94a1f30)
 

Author SHA1 Message Date
David Shrewsbury 6970cc233f Wrap calls to main() with if check
A change was merged to the main Ansible core code that can cause

a potential hang if any libraries are called that use threading.

This change was:



  4b0aa1214c



This affected the os_object module by causing a hang on the shade

create_object() API call (which in turn calls swiftclient which

uses threading). The fix is to make sure all modules have a main()

that is wrapped with an "if __name__ == '__main__'" check.
9 years ago
nitzmahone 8a3e2ec20f docs for win_reboot action 9 years ago
John Barker 6b03f4afe6 Add copyright notice for James Laska 9 years ago
Peter Sprygada 6b8a92045f handles config replace properly in eos_template
fixes 3366
9 years ago
Michael Scherer 3a1ffa12f1 Set the locales to avoid issue with screenscrapping
See https://github.com/ansible/ansible-modules-core/pull/2462 for

details on why this could happen
9 years ago
Thomas Quinot 99456fbc98 Reset all locale environment variables before running svn commands
We screenscrape the output of svn(1), so better ensure it is using the

C locale.



Fixes #3255
9 years ago
John Barker 531eed80b3 Replace BOOLEANS with true/false 9 years ago
Kalle Lehtonen 5aa652c6fd Fix and add more error handling for role policies
In case role policy was deleted, we did not handle at all if there

was authorization issue to do the deletion. Also add message when

role is not found and the policy is skipped.
9 years ago
Peter Sprygada cf01087a30 refactor iosxr_template module to remove old diff functions
this replaces the old diff functions with the netcfg shared module for
handling configuration diffs between running and candidate
9 years ago
Peter Sprygada 0f724f625d refactor iosxr_config module to remove old diff functions
this replaces the old diff functions with the netcfg lib for handling
configuration diffs between running and candidate configurations
9 years ago
Peter Sprygada 86f9c672f0 cleanup iosxr_command module to be consistent with other network modules
this cleans up some of the function calls and output keys to be consistent
with other command modules
9 years ago
Ricardo Carrillo Cruz ee2d436aa5 Only check default_project on resource creation
The default_project is checked at the beginning of the module.
This raises an exception if the project passed does not exist.
This logic only makes sense on resource creation, if a user
puts state=absent the module fails, even though the default
project is not relevant
9 years ago
Peter Sprygada 25baca1eb8 refactors nxos_template and removes diff functions
replaces the diff functions with the netcfg shared module for handling
configuration diff
9 years ago
Peter Sprygada 639e324fdb refactors nxos_config and removes diff functions
this refactors the nxos_config module removing the diff functions and
replacing with the netcfg shared module
9 years ago
Peter Sprygada 11c00c2278 cleans up nxos_command and adds some additonal info on exception
This cleans up some of the nxos_command module code function names to
be more consistent and adds additional information of failures
9 years ago
Peter Sprygada ad519c2f5c refactors eos_template to remove diff functions
replaces functions with netcfg shared library for handling configuration
diffs
9 years ago
Peter Sprygada 5d0ee49067 refactors eos_config to remove config diff functions
replaces with netcfg shared library for handling configuration diffs
9 years ago
Peter Sprygada c500b2ff99 refactors the ios_template module to use netcfg diff
removes the functions for performing configuration diffs to use the
netcfg shared lib
9 years ago
Peter Sprygada df32f64898 refactor ios_config to use netcfg diff shared lib
Move the configuration diff code from the module to the shared lib
9 years ago
Matt Davis a38bdfc720 Merge pull request #3358 from ansible/fix-async
Allow async to not need an args file since new-style modules have args embedded
9 years ago
Toshio Kuratomi 6e5b09f3a8 Allow async to not need an args file since new-style modules have args embedded 9 years ago
Brian Coca 2ddeb5cdec fixed doc quoting 9 years ago
René Moser db564c9b0f Merge pull request #3283 from mscherer/fix_argument_rhn_register
Fix argument rhn register
9 years ago
Brian Coca 20e4ad0eef corrected required docs as only boolean is allowed
these complex values were not displayed and would always show the fields as requried
9 years ago
René Moser 7080dd057b Merge pull request #3288 from jhutar/fix-sslcacert-for-rhn_register
Add missing parameters so these options are usable
9 years ago
René Moser bd2924b8ff Merge pull request #3133 from alachaum/fix-elasticache-idempotency
Fix aws elasticache idempotency
9 years ago
René Moser 18367243e4 Merge pull request #3341 from Shrews/os_server_wait
Pass wait/timeout parameters to floating IP APIs in os_server
9 years ago
René Moser 70c3aee12a Merge pull request #722 from hughsaunders/apt_retry_update
Retry apt cache updates
9 years ago
Jonathan Davila 8b13f2a693 Merge pull request #2278 from wimnat/feature/iam_doc_fix
IAM doc fix
9 years ago
René Moser fa8cb762ed Merge pull request #3161 from somechris/fix-boto-version-requirement
Guard against too old boto library
9 years ago
David Shrewsbury aecec868d5 Pass wait/timeout parameters to floating IP APIs in os_server
If a server already exists when os_server is run, but a floating
IP was not assigned to the server when one was requested, the
module will attempt to add an IP to the existing server. But it
would not pass the wait/timeout params to the floating IP APIs.
If wait was True, you could get back a server dict that did not
show the floating IP because it did not wait.
9 years ago
Monty Taylor 458c3056c4 Merge pull request #3338 from Shrews/fix_os_server_type
Set type on floating_ip_pools in os_server
9 years ago
David Shrewsbury 772d9eb88e Set type on floating_ip_pools in os_server
This has been expected as a list, so let's be explicit about it
so it will work correctly in 2.1 release.
9 years ago
David Shrewsbury cadce13c11 Merge pull request #3335 from rcarrillocruz/fix_os_image_is_public_casting
Fix is_public type on os_image
9 years ago
Ricardo Carrillo Cruz 6e6817ce18 Fix is_public type on os_image
Without this fix, the is_public value is a string and the shade
call handling the module does not evaluate correctly when
passing is_public: no
9 years ago
Hugh Saunders e9fd7befb7 Retry apt cache updates 9 years ago
René Moser 8dc71f6325 Merge pull request #3333 from mscherer/fix_git_module_args
Use type='path' for path arguments for git module
9 years ago
Michael Scherer 870311748f Use type='path' for path arguments for git module 9 years ago
René Moser d4285b5f21 Merge pull request #2613 from Jmainguy/apt_download_deb
Add ability to download deb from url
9 years ago
René Moser 5e90c86519 Merge pull request #2702 from curious-eyes/add-gce-preemptible
Add preemptible option on gce.py
9 years ago
René Moser 7e879eca32 Merge pull request #2968 from ashwanthkumar/exponential-backoff-in-route53
add retry with exponential backoff on route53
9 years ago
Brian Coca eca2e76e9b Merge pull request #3329 from mscherer/fix_typo_os_images_facts
s/plubic/public/in the doc
9 years ago
Michael Scherer 74fd65b2d8 s/plubic/public/in the doc 9 years ago
René Moser 13f4b40c15 Merge pull request #3284 from mscherer/fix_docker_args
Improve/fix type checking for docker module
9 years ago
Toshio Kuratomi 0268864211 Merge pull request #3311 from kustodian/yum-fix-changed-in-check-mode
Yum module always downloads remote rpms. fixes #1452
9 years ago
nitzmahone 06e61cf1db fix win_stat get_checksum alias issue
made it impossible to prevent gathering checksum without setting both get_md5 and get_checksum false
9 years ago
Toshio Kuratomi a2f41dfb04 Give headers a default so that we can add to it. 9 years ago
Brian Coca 13da54ea34 Merge pull request #3315 from smashwilson/patch-1
Remove myself from the docker module maintainers
9 years ago
Ash Wilson f4557c1631 Remove myself from the docker module maintainers
Apologies, but I no longer use this module day-to-day myself, and I don't have the bandwidth right now to effectively triage changes in any kind of timely fashion.
9 years ago
Brian Coca dabf28edbe Merge pull request #2853 from Igelko/patch-1
docker: If cmd and entrypoint not set, don't match them
9 years ago