Commit Graph

26664 Commits (0c8f95f59a4275f07b6681d1004e15db847f43ce)
 

Author SHA1 Message Date
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
8 years ago
Ryan Sydnor e6d5c41f73 Add encryption capability to AMI copy (#1409) 8 years ago
Brian Coca 13cf09f949 added return docs 8 years ago
Adam Števko da95dd5652 Add module for retrieving SmartOS image facts (#1276) 8 years ago
Brian Coca 3f22667151 added note about behaviour change in 2.2 8 years ago
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.
8 years ago
Rob 716e1576d4 Add section on how to return boto3 CamelCased results (#2279) 8 years ago
Michael Scherer 06e3950efb Port patch.py to python3/python2.4 syntax (#2276) 8 years ago
Hagai Kariti 390aa7a75f bigpanda: Remove docs using complex args (#2275)
As they're going to be deprecated, don't recommend using them.
8 years ago
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
8 years ago
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"
8 years ago
Mariano Lasala 79c24ff30d Update sl_vm.py (#2267)
There was a mistype in DATACENTER list with 'lon2', changed to 'lon02'.
8 years ago
René Moser a9bc509a96 softlayer: fix module name in doc (#2266) 8 years ago
Brian Coca f0ae2393e6 add missing author info 8 years ago
Orion Poplawski 70384d72e6 Fix gw4/gw6 typo (#1841) 8 years ago
Hans-Joachim Kliemeck 393ea3293c blockinfile will always add newline at EOF (#2261) 8 years ago
Toshio Kuratomi fae2a50d4d Move running py3 compile test from whitelist to blacklist (#2254) 8 years ago
Alex e031f37407 zypper: (Bugfix) Change command option --verbose to --details which is supported since 2008 (#2224) 8 years ago
Rob 9064aecaed Add idempotence to ec2_eni when private_ip_address is supplied (#2172) 8 years ago
Victor Costan 2b6dd0e735 Add sts_session_token module for short-lived AWS credentials. (#1988) 8 years ago
Victor Costan a5940c2a5f Add aws_mfa_devices module for multi-factor authentication on AWS. (#1987) 8 years ago
Toshio Kuratomi 53de945741 Move the import of get_exception to pycompat24 8 years ago
kubilus1 f3d248de9a Check to see existence of same named/location system before creation. (#2150) 8 years ago
Toshio Kuratomi 009f5f716a Add vmware and lxc to python3 checks 8 years ago
Toshio Kuratomi e1eb982930 Port vspherer_copy to pass syntax checks on python3 8 years ago
Michael Scherer 02518b2b72 Port vca_nat and vca_fw to py3 compatible syntax (#2243)
Since they both depend on library that cannot run on python2.4,
cf https://github.com/ansible/ansible/pull/15870, we can use
directly the python 2.6 syntax, as seen on the porting doc.
8 years ago
Michael Scherer d7ac2a8499 Use a python3 compatible notation for octal (#2238) 8 years ago
Michael Scherer 24a08d350a Add support for checking module on python3, like on core (#2235) 8 years ago
Shubham a4c1f0dbea Fix broken link for issue template (#2248) 8 years ago
Ricardo Carrillo Cruz 0bbb09de7c Fix CI due to missing __init__.py on f5 folder (#2247)
The CI for extras is failing on ansible-validate-modules due
to f5 folder missing __init__.py.
Adding an empty one to fix it.
8 years ago
Daniel Vigueras 81cb2eac89 Add insert support to iptables. (#1180)
Add insert support to iptables.
8 years ago
Michael Perzel a2b0dad3e8 Module to manage f5 virtual servers 8 years ago
Sergei Antipov 8263dd18a9 Fixed problem with pymongo compatibility (#1249)
* Fixed problem with pymongo compatibility

Fixes #11
8 years ago
Jordan Cohen 020379b0dc doc update to demostrate message template vars 8 years ago
Jordan Cohen 97d5d80983 message template variable fix
Due to ansible/jinja2 templating, it is difficult to use the monitor message template variables as they need to be surrounded by `{{` and `}}`, this change addresses that issue by allowing the user to use `[[` and `]]` instead.
8 years ago
Kevin Hildebrand 755535ed7f Fix the interface handling code to allow permanent and non-permanent operations. Also avoid using add_interface because it breaks in cases where the interface is already bound to a different zone. 8 years ago
Rene Moser f90ac2c9de cloudstack: new module cs_router 8 years ago
Pavel Samokha 50fe70f40a iptables module - icmp-type better doc style 8 years ago
Pavel Samokha 945862b876 fix icmp-type 8 years ago
Pavel Samokha 90aad93949 iptables module - add icmp_type 8 years ago
Lukáš Lalinský 3e81023a87 monitoring/zabbix_host: Fix (no) proxy handling
When updating a host with no proxy explicitly set,
the host was always reported as changed, because it was
comparing `"0"` and `None`.
8 years ago
Constantin ff592dacc5 Added support for Standard - Infrequent Access stoarage class (#2134) 8 years ago
Dag Wieers a3667767e6 Fix check-mode incorrectly returning changed (#2220)
The lvol module has a different logic in check-mode for knowing when a change is induced. And this logic is *only* based on a size check. However during a normal run, it is the lvreduce or lvextend tool that decides when a change is performed (or when the requested and existing sizes differ). So while in check-mode the module reports a change, in real run-mode it does not in fact changes anything an reports ok.

One solution would be to implement the exact size-comparison logic that is implemented in lvextend and lvreduce, but we opted to use the `--test` option to each command to verify if a change is induced or not. In effect both check-mode and run-mode use the exact same logic and conclusion.
8 years ago
Toshio Kuratomi 1782ff04d0 Docs fixes 8 years ago
Toshio Kuratomi e95c069aa6 the ansible version constant is now in a different place 8 years ago
Yannig daefbdad5c New lvol option: shrink. (#2135)
If shrink is set to false and size is lower than current lv size, dont try to shrink logical volume.
8 years ago
Ian Levesque b8aa2ff9a7 Fix session-based kv acquire/release (#2181)
* Fix session-based kv acquire/release

* add example of using session in doc
8 years ago
Rob 94e7fae06a Added better example for boto3 exception handling (#2204) 8 years ago
Michael Baydoun 5e3c3741dd created ec2_customer_gateway module (#1868) 8 years ago
Ash Berlin bb42a6bcac Add missing urlparse import to s3_bucket (#2110)
This was triggered when S3_URL environment variable was set.
8 years ago