Commit graph

9316 commits

Author SHA1 Message Date
Tom Paine
c790519048 Update mysql_db.py
* Update mysql_db.py

Resubmission of https://github.com/ansible/ansible-modules-core/pull/2961 in single commit.

* Update mysql_db.py
2016-04-11 07:46:39 +02:00
Rene Moser
85c45d9fd1 openstack: doc fix, add version_added
see #3388
2016-04-10 11:37:53 +02:00
David Shrewsbury
99659036ca Merge pull request #3363 from rcarrillocruz/check_default_project_if_present
Only check default_project on resource creation
2016-04-08 14:21:26 -04:00
Matt Martz
31f23de5c5 Merge pull request #3391 from sivel/rax-dns-record-docfix
rax_dns_record: overwrite option was added for 2.1
2016-04-08 11:37:27 -05:00
Matt Martz
e9227c4d8f overwrite option was added for 2.1 2016-04-08 11:36:14 -05:00
peter.jang
c52f475c64 added rsync protocol support (#1999)
* added rsync protocol support

* correction for example document(add example for push on delegate)

* use startswith method for safety
2016-04-08 11:41:53 -04:00
Monty Taylor
265c3fdfb5 Merge pull request #3388 from Shrews/os_network_provider
Add support for provider network options
2016-04-08 08:18:17 -07:00
David Shrewsbury
29bd86394e Add support for provider network options.
Adds new parameters for specifying options for provider network plugins.
2016-04-08 09:31:26 -04:00
nitzmahone
2f46c35f47 fix win_user type checking
Fixed type checking to be more idiomatic powershell, also fixes a slew of StrictMode issues and gets error handling back to originally-intended behavior.
2016-04-07 18:25:41 -07:00
Toshio Kuratomi
ee90762388 git still needs to have abspath applied to dest 2016-04-06 14:03:17 -07:00
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.
2016-04-06 12:18:35 -07:00
nitzmahone
8a3e2ec20f docs for win_reboot action 2016-04-06 12:07:00 -07:00
John Barker
6b03f4afe6 Add copyright notice for James Laska 2016-04-06 19:12:15 +01:00
Peter Sprygada
6b8a92045f handles config replace properly in eos_template
fixes 3366
2016-04-05 22:58:04 -04:00
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
2016-04-05 10:24:43 -07:00
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
2016-04-05 10:23:33 -07:00
John Barker
531eed80b3 Replace BOOLEANS with true/false 2016-04-05 16:31:15 +01:00
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.
2016-04-05 09:55:49 -04:00
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
2016-04-04 16:15:39 -04:00
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
2016-04-04 16:15:31 -04:00
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
2016-04-04 16:15:23 -04:00
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
2016-04-04 13:20:00 +00:00
Peter Sprygada
25baca1eb8 refactors nxos_template and removes diff functions
replaces the diff functions with the netcfg shared module for handling
configuration diff
2016-04-04 08:16:03 -04:00
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
2016-04-04 08:15:51 -04:00
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
2016-04-04 08:15:43 -04:00
Peter Sprygada
ad519c2f5c refactors eos_template to remove diff functions
replaces functions with netcfg shared library for handling configuration
diffs
2016-04-04 07:21:00 -04:00
Peter Sprygada
5d0ee49067 refactors eos_config to remove config diff functions
replaces with netcfg shared library for handling configuration diffs
2016-04-04 07:20:48 -04:00
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
2016-04-04 07:02:58 -04:00
Peter Sprygada
df32f64898 refactor ios_config to use netcfg diff shared lib
Move the configuration diff code from the module to the shared lib
2016-04-04 07:02:48 -04:00
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
2016-04-01 19:57:24 -07:00
Toshio Kuratomi
6e5b09f3a8 Allow async to not need an args file since new-style modules have args embedded 2016-04-01 19:50:58 -07:00
Brian Coca
2ddeb5cdec fixed doc quoting 2016-04-01 17:48:39 -04:00
René Moser
db564c9b0f Merge pull request #3283 from mscherer/fix_argument_rhn_register
Fix argument rhn register
2016-04-01 23:46:36 +02:00
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
2016-04-01 16:59:12 -04:00
René Moser
7080dd057b Merge pull request #3288 from jhutar/fix-sslcacert-for-rhn_register
Add missing parameters so these options are usable
2016-03-31 19:48:57 +02:00
René Moser
bd2924b8ff Merge pull request #3133 from alachaum/fix-elasticache-idempotency
Fix aws elasticache idempotency
2016-03-31 19:27:15 +02:00
René Moser
18367243e4 Merge pull request #3341 from Shrews/os_server_wait
Pass wait/timeout parameters to floating IP APIs in os_server
2016-03-31 15:32:58 +02:00
René Moser
70c3aee12a Merge pull request #722 from hughsaunders/apt_retry_update
Retry apt cache updates
2016-03-30 22:10:40 +02:00
Jonathan Davila
8b13f2a693 Merge pull request #2278 from wimnat/feature/iam_doc_fix
IAM doc fix
2016-03-30 08:27:32 -04:00
René Moser
fa8cb762ed Merge pull request #3161 from somechris/fix-boto-version-requirement
Guard against too old boto library
2016-03-30 07:23:52 +02:00
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.
2016-03-29 13:42:41 -04:00
Monty Taylor
458c3056c4 Merge pull request #3338 from Shrews/fix_os_server_type
Set type on floating_ip_pools in os_server
2016-03-29 07:44:29 -07:00
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.
2016-03-29 10:13:49 -04:00
David Shrewsbury
cadce13c11 Merge pull request #3335 from rcarrillocruz/fix_os_image_is_public_casting
Fix is_public type on os_image
2016-03-29 08:32:43 -04:00
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
2016-03-29 11:37:49 +00:00
Hugh Saunders
e9fd7befb7 Retry apt cache updates 2016-03-29 08:35:34 +01:00
René Moser
8dc71f6325 Merge pull request #3333 from mscherer/fix_git_module_args
Use type='path' for path arguments for git module
2016-03-29 09:11:20 +02:00
Michael Scherer
870311748f Use type='path' for path arguments for git module 2016-03-29 08:50:09 +02:00
René Moser
d4285b5f21 Merge pull request #2613 from Jmainguy/apt_download_deb
Add ability to download deb from url
2016-03-28 23:30:47 +02:00
René Moser
5e90c86519 Merge pull request #2702 from curious-eyes/add-gce-preemptible
Add preemptible option on gce.py
2016-03-28 00:06:43 +02:00