1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

26695 commits

Author SHA1 Message Date
René Moser
e6766078ea consul: fix param name for verify SSL (#2194)
Introduced in #1793, fixes #2114, needs backport to 2.1
2016-12-08 11:34:18 -05:00
Elena Washington
6efea4a064 iptables: option to configure Source NAT (#2292)
* Clean up trailing whitespace

* Add `--to-source` option to allow Source NAT (fix for #2291)
2016-12-08 11:34:18 -05:00
Matt Martz
081303c111 Exclude mssql_db.py from py24 syntax checks 2016-12-08 11:34:18 -05:00
Paul Durivage
8166302d3d fix command list to extend, not append 2016-12-08 11:34:18 -05:00
Toshio Kuratomi
0d706d25b6 The pymssql library requires python 2.7 or greater so port the syntax of this file to use python3-style exception handling 2016-12-08 11:34:18 -05:00
Hans-Joachim Kliemeck
e43e572770 allow empty user for kerberos ticket usage
fix syntax problems:
* it is possible that sql injection is done, therefore the [DBNAME] syntax is used.
* it is not possible to use default escape on cursor.execute for DBNAME, since it will insert single quotes around the name and this will cause syntax problems / single quotes within the actual DBNAME

implement autocommit setting, since some content can not be imported within transaction

fix for automatic tests

fix problems with named instances, corrected error message regarding configuration file

remove unused placeholder
2016-12-08 11:34:18 -05:00
Firat Arig
80a77ea00a Working mssql db controller
Using pymssql string interpolation

Cursor does string interpolation at script execution

Handled edge cases in import and delete

updated ansible version number
2016-12-08 11:34:18 -05:00
Toshio Kuratomi
adc5ea5168 Fix exception catching for python3 2016-12-08 11:34:18 -05:00
Benjamin Curtis
778bffe35c Add honeybadger_deployment module 2016-12-08 11:34:18 -05:00
Toshio Kuratomi
38c5a0067e Fix python3 syntax compilation 2016-12-08 11:34:18 -05:00
Mike Mochan
8472ef95e5 update remote tags if changed 2016-12-08 11:34:18 -05:00
Mike Mochan
f39c98b8fc added tagging for the remote account 2016-12-08 11:34:18 -05:00
Mike Mochan
7acd9c0e34 Updates to version and requirements 2016-12-08 11:34:18 -05:00
Mike Mochan
c1ccc831e8 Added tagging functionality 2016-12-08 11:34:17 -05:00
Mike Mochan
1b170a145e All calls to describe_vpc_peering_connections need to use the params dict 2016-12-08 11:34:17 -05:00
Mike Mochan
439c4aa979 Remove unused vars and pass params dict to describe_peering_connections 2016-12-08 11:34:17 -05:00
Mike Mochan
deaf40d942 update to capture peer status 2016-12-08 11:34:17 -05:00
Mike Mochan
985e485706 removed obsolete ec2 resource object 2016-12-08 11:34:17 -05:00
Mike Mochan
5963fc4641 refactored to use dict invocation for calling client peerings functions 2016-12-08 11:34:17 -05:00
Mike Mochan
64f947a327 updates to Documentation - Removed refs to Boto, added params dict() and removed obsolete if statements 2016-12-08 11:34:17 -05:00
Mike Mochan
655d08f62f cloud/amazon/ec2_vpc_peer.py 2016-12-08 11:34:17 -05:00
Mike Mochan
842b347c7e removed debug package 2016-12-08 11:34:17 -05:00
Mike Mochan
39a132a44e Version added, GPLv3 License header added 2016-12-08 11:34:17 -05:00
Mike Mochan
a6814e0774 Initial commit for cross account VPC peering module 2016-12-08 11:34:17 -05:00
dougluce
aaaf37ae41 Don't bomb if original didn't exist (#2295)
If we don't have an existing file, original ends up as None.  Bug
introduced in 70fa125
2016-12-08 11:34:17 -05:00
Adrian Likins
f096cd6322 Fix pkgutil "upgrade_catalog must be one of" err (#2149)
The arg spec for update_catalog include 'type=bool'
and 'choices=["yes", "no"] which can never both be
true.

Remove the 'choices' directive, and update doc string.

Fixes #2144
2016-12-08 11:34:17 -05:00
René Moser
99646d5dbb fix build and doc cleanups (#2286) 2016-12-08 11:34:17 -05:00
jhawkesworth
ac44058457 Add info about where you can find product ids for changed checking on win_package module (#2281) 2016-12-08 11:34:17 -05:00
Toshio Kuratomi
0d51743e23 Add __init__.py and update version_added to fix module for ansible-validate checks 2016-12-08 11:34:16 -05:00
Fernando José Pando
65bae8f76b fixup sns topic subscriptions (#2232)
* fixup sns topic subscriptions

* return docs
2016-12-08 11:34:16 -05:00
Dag Wieers
0e3713971a Convert module to work with python 2.4 and fix a bug (#2251)
- Avoiding the use of 'with ... as ...' and 'except ... as ...' constructs.

- Make use of posixpath.join() rather than concatenating slashes ourselves
  (To avoid having consecutive slashes which broke something on our side)
2016-12-08 11:34:16 -05:00
Mike Mochan
275210b06e New AWS module for managing VPC Network ACLs (#1502)
* New AWS module for managing VPC Networks ACLs

Moved return  outside of try block

botocore.exceptions to support python 2.5

For some reason Travis is using Python V2.4 to run the tests - My code is valid

duplicate file

* Fixed NameError Exception- module not being passed when calling some boto3 client methods

* Fixes a bug reported by @dennisconrad, where the nacl is not created when subnets list is empty

* nacl property changed to name and fixes a bug where nacl is not deleted when subnets list is empty

* Updates to version and requirements

* Fix 'vpc' param to 'vpc_id' to match documentation and convention
2016-12-08 11:34:16 -05:00
Ryan Sydnor
e6d5c41f73 Add encryption capability to AMI copy (#1409) 2016-12-08 11:34:16 -05:00
Brian Coca
13cf09f949 added return docs 2016-12-08 11:34:16 -05:00
Adam Števko
da95dd5652 Add module for retrieving SmartOS image facts (#1276) 2016-12-08 11:34:16 -05:00
Brian Coca
3f22667151 added note about behaviour change in 2.2 2016-12-08 11:34:16 -05:00
Leo Antunes
c0570d275b Allow multiple keys per host + minor improvements (#716)
* known_hosts: clarify key format in documentation

Add a small clarification to the documentation about the format of the
"key" parameter.
Should make #664 less of a issue for newcomers.

* known_hosts: normalize key entry to simplify input

Keys are normalized before comparing input with present keys. This
should make it easier to deal with some corner cases, such as having a
hashed entry for some host and trying to add it as non-hashed.

* known_hosts: allow multiple entries per host

In order to support multiple key types and allow the installed ssh
version to decide which is more secure, the module now only overwrites
an existing entry in known_hosts if the provided key is of the same
type.
Old keys of different types must be explicitly removed. Setting
state to "absent" and providing no key will remove all entries for the
host.
2016-12-08 11:34:16 -05:00
Rob
716e1576d4 Add section on how to return boto3 CamelCased results (#2279) 2016-12-08 11:34:16 -05:00
Michael Scherer
06e3950efb Port patch.py to python3/python2.4 syntax (#2276) 2016-12-08 11:34:16 -05:00
Hagai Kariti
390aa7a75f bigpanda: Remove docs using complex args (#2275)
As they're going to be deprecated, don't recommend using them.
2016-12-08 11:34:16 -05:00
Nicolas Landais
e93f7241be Fix problem with 'restarted' state not restarting the apppool when it is in running state (#1451)
* Fix problem with 'restarted' state not restarting the apppool when it is in running state

* Implemeting code review comments

Comment from previous commit “You basically want to start the pool if
it's stopped and requested state is started or restarted, otherwise if
requested state is restarted, restart it.” This commit implements the
behavior stated in the PR comment
2016-12-08 11:34:16 -05:00
Corwin Brown
d0ada049f2 Add Win Robocopy module (#1078)
* Added more robust error handling

* Add Win Synchronize module

Renamed win_synchronize to win_robocopy

Updating email address

Adding "flags" argument.

Adding a "flags" argument that will allow the user to pass args
directly to robocopy.

If "flags" is set, recurse and purge will be ignored.

Add return code to output

Added bits to support check mode

Fixing typo in Documentation

Updated Documentation to have "RETURNED" field

Updated win_robocopy.py to have the RETURNED field. I also noticed
that win_robocopy.ps1 wasn't really using the "changed" attribute,
so I went in and made sure it was being set appropriately.

Forcing bool type for recurse and purge flag

Updated "version_added"
2016-12-08 11:34:16 -05:00
Mariano Lasala
79c24ff30d Update sl_vm.py (#2267)
There was a mistype in DATACENTER list with 'lon2', changed to 'lon02'.
2016-12-08 11:34:16 -05:00
René Moser
a9bc509a96 softlayer: fix module name in doc (#2266) 2016-12-08 11:34:15 -05:00
Brian Coca
f0ae2393e6 add missing author info 2016-12-08 11:34:15 -05:00
Orion Poplawski
70384d72e6 Fix gw4/gw6 typo (#1841) 2016-12-08 11:34:15 -05:00
Hans-Joachim Kliemeck
393ea3293c blockinfile will always add newline at EOF (#2261) 2016-12-08 11:34:15 -05:00
Toshio Kuratomi
fae2a50d4d Move running py3 compile test from whitelist to blacklist (#2254) 2016-12-08 11:34:15 -05:00
Alex
e031f37407 zypper: (Bugfix) Change command option --verbose to --details which is supported since 2008 (#2224) 2016-12-08 11:34:15 -05:00
Rob
9064aecaed Add idempotence to ec2_eni when private_ip_address is supplied (#2172) 2016-12-08 11:34:15 -05:00