Commit Graph

23853 Commits (c8dc0bf5c99b24b230f18505bfb2d2f6c1ed6609)
 

Author SHA1 Message Date
jjshoe d3623c8148 Give encoding examples (#3436) 8 years ago
yarick123 87fe4a2f0c ini_file: added option 'noextraspaces' to turn off inserting extra spaces around '=' symbol
* ini_file: added option 'noextraspaces' to turn off inserting extra spaces around '=' symbol

* ini_file: noextraspaces, python 2.4 compatibility

* ini_file: noextraspaces - yes/no => true/false

* ini_file: noextraspaces - added 'version_added' option

* ini_file: noextraspaces => no_extra_spaces
8 years ago
hyperized 51e2813ae4 Set --quick to True by default and make it selectable (#3418)
As indicated by @jmainguy in eb1cb94380 (commitcomment-17077470), this will allow the user to set the option quick, which is True by default (as it was before).

This is in reference to: https://github.com/ansible/ansible-modules-core/pull/3402
8 years ago
Michael Moussa 0494dced3a Fixes read replica create BC break (#3365) 8 years ago
William Holroyd 42d784c24b Added ap-northeast-2 region (#2849) 8 years ago
Rob 5a48a2e93e Fix to ensure youngest snapshot is retrieved rather than oldest (#3115) 8 years ago
jjshoe 5b8d209b7e Speed up AMI code by not attempting to create the AMI without checkin… (#2551)
* Speed up AMI code by not attempting to create the AMI without checking on the name first. Also simplifies code for reporting errors from AMI creation, greatly.

* remove sys.exit
8 years ago
Joshua Kugler 15ae8c8e0b Fix mount's handling of passno 8 years ago
Petrox c050776f9e Missing documentation fix (#2516)
Extending the documentation to state, that this module does not handle externals well.
8 years ago
Marcin ea57d8b005 Check if identifier is specified for geo,weighted or failover routing. Don't fail if record set already exist. Set choices for failover - capital PRIMARY and SECONDARY. (#2470) 8 years ago
Fabian von Feilitzsch 32c744e82a make binds a list instead of a dict (to prevent overwriting when copying the same file to two places) (#2294) 8 years ago
Mengdi Gao 165f48717a Improve doc accuracy of template module 8 years ago
John Barker d531eb146d Replace BOOLEANS with true/false 8 years ago
John Barker b3bc4bc97f Add copyright notice for James Laska 8 years ago
Ricardo Carrillo Cruz 682d97b765 Create subnet by domain
A cloud/domain admin should be able to create a subnet on any
project it is granted on.
This change adds the 'project' parameter that accepts either
a name (admin-only) or id.
8 years ago
Ricardo Carrillo Cruz eecceaef6e Add project parameter to os_network
A cloud/domain admin should be able to create a network on any project
it is granted to.
This changes adds the possibility to pass either a project ID or
project name.
8 years ago
Adrian Likins 2a7324a385 Update redhat_subscriptions 'server_insecure' docs (#3373)
'server_insecure' maps to the subscription-manager config
(/etc/rhsm/rhsm.conf) value for 'insecure' key in the
'server' stanza. The 'insecure' configures if the https connection
to 'server_hostname' is verified as having been issued by
a CA in 'ca_cert_dir' trust store.

Previous documentation indicating it disables https and
enables http was inaccurate. Connection to server_hostname
always uses https.
8 years ago
Robin Roth ee06cd27b2 use custom ismount function in mount module (#2737)
* based on cpython os.path.ismount
* includes patch from http://bugs.python.org/issue2466
* fixes #2186
* when the upstream bug is fixed this should be removed/rewritten
* use ismount from module_utils
8 years ago
hyperized 075edf7bb2 Add single_transaction and quick options to MySQL DB module (#3402) 8 years ago
Michael Scherer 8b125f8c2c Mark path as type='path', do not leak login_password by error (#3396) 8 years ago
Michael Scherer c0179330c9 Update the type of some arguments in mysql_db module (#3285)
login_password should not be logged, so mark it as 'no_log'
the others arguments are path to file, and so should be type='path',
which permit to remove the line handling '~' and shell variables.
8 years ago
Tom Paine 7422ada2c8 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
8 years ago
Rene Moser aa32ae65a6 openstack: doc fix, add version_added
see #3388
8 years ago
Matt Martz c26c17aa28 overwrite option was added for 2.1 8 years ago
peter.jang f7fb5e31c2 added rsync protocol support (#1999)
* added rsync protocol support

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

* use startswith method for safety
8 years ago
nitzmahone 64cd7903f2 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.
8 years ago
Toshio Kuratomi 40948cfcc4 git still needs to have abspath applied to dest 8 years ago
David Shrewsbury dcbbd72cfd 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.
8 years ago
Peter Sprygada ef8b59f430 handles config replace properly in eos_template
fixes 3366
8 years ago
Michael Scherer 2ae3dbcc6a 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
8 years ago
Thomas Quinot a5ec00f89f 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
8 years ago
Kalle Lehtonen 02f737cdee 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.
8 years ago
Peter Sprygada 8210ede9b4 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
8 years ago
Peter Sprygada bba38d2cf8 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
8 years ago
Peter Sprygada c2c8d51ba2 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
8 years ago
Ricardo Carrillo Cruz 1b5288b703 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
8 years ago
Peter Sprygada 834bc225c9 refactors nxos_template and removes diff functions
replaces the diff functions with the netcfg shared module for handling
configuration diff
8 years ago
Peter Sprygada 5a61909b4a refactors nxos_config and removes diff functions
this refactors the nxos_config module removing the diff functions and
replacing with the netcfg shared module
8 years ago
Peter Sprygada 19119a2759 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
8 years ago
Peter Sprygada a4bb4ee146 refactors eos_template to remove diff functions
replaces functions with netcfg shared library for handling configuration
diffs
8 years ago
Peter Sprygada f77bb0ac28 refactors eos_config to remove config diff functions
replaces with netcfg shared library for handling configuration diffs
8 years ago
Peter Sprygada 006c11cf34 refactors the ios_template module to use netcfg diff
removes the functions for performing configuration diffs to use the
netcfg shared lib
8 years ago
Peter Sprygada ff928d0829 refactor ios_config to use netcfg diff shared lib
Move the configuration diff code from the module to the shared lib
8 years ago
Toshio Kuratomi 708d49777d Allow async to not need an args file since new-style modules have args embedded 8 years ago
Brian Coca ff755da1e5 fixed doc quoting 8 years ago
Brian Coca 37513ca8bb corrected required docs as only boolean is allowed
these complex values were not displayed and would always show the fields as requried
8 years ago
David Shrewsbury 1bdc3b3bb0 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.
8 years ago
David Shrewsbury 82a1208e64 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.
8 years ago
Ricardo Carrillo Cruz 5d402f31c8 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
8 years ago
Jan Hutar 45076bddb9 Add missing parameters so these options are usable 8 years ago