Commit Graph

8314 Commits (f68c1a1071c7e4a9280f0b571e9d04e7a426cbc8)
 

Author SHA1 Message Date
dougluce b6b04795c3 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
9 years ago
Adrian Likins d1a4f703ce 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
9 years ago
René Moser a055d7240a fix build and doc cleanups (#2286) 9 years ago
jhawkesworth e35d5f2c54 Add info about where you can find product ids for changed checking on win_package module (#2281) 9 years ago
Toshio Kuratomi 342af8b249 Add __init__.py and update version_added to fix module for ansible-validate checks 9 years ago
Fernando José Pando 0d8eefe197 fixup sns topic subscriptions (#2232)
* fixup sns topic subscriptions

* return docs
9 years ago
Dag Wieers 4afae893e1 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)
9 years ago
Mike Mochan 6d52d84af7 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
9 years ago
Ryan Sydnor 0ba34435cf Add encryption capability to AMI copy (#1409) 9 years ago
Brian Coca eb6ba749c2 added return docs 9 years ago
Adam Števko 0d54d1ffe4 Add module for retrieving SmartOS image facts (#1276) 9 years ago
Brian Coca ecee427cbc added note about behaviour change in 2.2 9 years ago
Leo Antunes d54905ecee 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.
9 years ago
Rob b9ab1f9f5c Add section on how to return boto3 CamelCased results (#2279) 9 years ago
Michael Scherer a780dbf4e1 Port patch.py to python3/python2.4 syntax (#2276) 9 years ago
Hagai Kariti 7e08d01010 bigpanda: Remove docs using complex args (#2275)
As they're going to be deprecated, don't recommend using them.
9 years ago
Nicolas Landais b11029adca 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
9 years ago
Corwin Brown d2900e856b 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"
9 years ago
Mariano Lasala 3d54bdd4e1 Update sl_vm.py (#2267)
There was a mistype in DATACENTER list with 'lon2', changed to 'lon02'.
9 years ago
René Moser cdffb36642 softlayer: fix module name in doc (#2266) 9 years ago
Brian Coca 29be1310e1 add missing author info 9 years ago
Orion Poplawski 14a0b7b9b7 Fix gw4/gw6 typo (#1841) 9 years ago
Hans-Joachim Kliemeck 896f6dcd34 blockinfile will always add newline at EOF (#2261) 9 years ago
Toshio Kuratomi 33f3612e5c Move running py3 compile test from whitelist to blacklist (#2254) 9 years ago
Alex ce5a9b6c5f zypper: (Bugfix) Change command option --verbose to --details which is supported since 2008 (#2224) 9 years ago
Rob 8fb8ec2e98 Add idempotence to ec2_eni when private_ip_address is supplied (#2172) 9 years ago
Victor Costan 76dee3d872 Add sts_session_token module for short-lived AWS credentials. (#1988) 9 years ago
Victor Costan 010286aafd Add aws_mfa_devices module for multi-factor authentication on AWS. (#1987) 9 years ago
Toshio Kuratomi 2a5812a0e8 Move the import of get_exception to pycompat24 9 years ago
kubilus1 b742ab1263 Check to see existence of same named/location system before creation. (#2150) 9 years ago
Toshio Kuratomi e710dc47fe Add vmware and lxc to python3 checks 9 years ago
Toshio Kuratomi 8ecc3d2516 Port vspherer_copy to pass syntax checks on python3 9 years ago
Michael Scherer 84ec0c8faf 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.
9 years ago
Michael Scherer c8864c3220 Use a python3 compatible notation for octal (#2238) 9 years ago
Michael Scherer 7e97b2131b Add support for checking module on python3, like on core (#2235) 9 years ago
Shubham e91848dfd5 Fix broken link for issue template (#2248) 9 years ago
Ricardo Carrillo Cruz 4856fa6adf 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.
9 years ago
Daniel Vigueras 735c1b6219 Add insert support to iptables. (#1180)
Add insert support to iptables.
9 years ago
Michael Perzel 677a2dd66d Module to manage f5 virtual servers 9 years ago
Sergei Antipov 33281cc93e Fixed problem with pymongo compatibility (#1249)
* Fixed problem with pymongo compatibility

Fixes #11
9 years ago
Adrian Likins e880bc8f75 Merge pull request #2119 from hypergig/patch-2
message template variable fix
9 years ago
Adrian Likins 240afc0344 Merge pull request #2146 from ke3vin/interfacezone
Fix the interface handling code to allow immediate changes.  Also fixes switching an interface between zones.
9 years ago
Adrian Likins 028ef0a2fa Merge pull request #2185 from resmo/feature/cs_router
cloudstack: new module cs_router
9 years ago
Adrian Likins ae6b3ac71d Merge pull request #2225 from rusaksoft/iptables-add-icmp-type
Iptables add icmp type
9 years ago
Adrian Likins 05d9a41ca5 Merge pull request #2234 from lalinsky/zabbix-host-proxy
monitoring/zabbix_host: Fix (no) proxy handling
9 years ago
Lukáš Lalinský 3a90f78cca 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`.
9 years ago
Constantin 8c1b672929 Added support for Standard - Infrequent Access stoarage class (#2134) 9 years ago
Dag Wieers 7618fd8749 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.
9 years ago
Toshio Kuratomi f953d5dc0c Docs fixes 9 years ago
Toshio Kuratomi 148a0ddabf Merge pull request #2228 from abadger/ziploader-constants
the ansible version constant is now in a different place
9 years ago