Commit graph

8406 commits

Author SHA1 Message Date
Ryan Sydnor
0ba34435cf Add encryption capability to AMI copy (#1409) 2016-05-23 10:39:02 -04:00
Brian Coca
eb6ba749c2 added return docs 2016-05-23 10:36:47 -04:00
Adam Števko
0d54d1ffe4 Add module for retrieving SmartOS image facts (#1276) 2016-05-23 10:35:55 -04:00
Brian Coca
ecee427cbc added note about behaviour change in 2.2 2016-05-23 10:35:03 -04:00
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.
2016-05-23 10:33:52 -04:00
Rob
b9ab1f9f5c Add section on how to return boto3 CamelCased results (#2279) 2016-05-23 10:31:41 -04:00
Michael Scherer
a780dbf4e1 Port patch.py to python3/python2.4 syntax (#2276) 2016-05-23 09:44:57 -04:00
Hagai Kariti
7e08d01010 bigpanda: Remove docs using complex args (#2275)
As they're going to be deprecated, don't recommend using them.
2016-05-23 09:29:26 +02:00
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
2016-05-20 17:31:46 -07:00
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"
2016-05-20 17:25:24 -07:00
Mariano Lasala
3d54bdd4e1 Update sl_vm.py (#2267)
There was a mistype in DATACENTER list with 'lon2', changed to 'lon02'.
2016-05-21 00:39:17 +02:00
René Moser
cdffb36642 softlayer: fix module name in doc (#2266) 2016-05-21 00:38:48 +02:00
Brian Coca
29be1310e1 add missing author info 2016-05-20 09:19:23 -04:00
Orion Poplawski
14a0b7b9b7 Fix gw4/gw6 typo (#1841) 2016-05-20 08:46:52 -04:00
Hans-Joachim Kliemeck
896f6dcd34 blockinfile will always add newline at EOF (#2261) 2016-05-20 10:25:10 +02:00
Toshio Kuratomi
33f3612e5c Move running py3 compile test from whitelist to blacklist (#2254) 2016-05-19 15:22:39 -07:00
Alex
ce5a9b6c5f zypper: (Bugfix) Change command option --verbose to --details which is supported since 2008 (#2224) 2016-05-19 08:21:33 +02:00
Rob
8fb8ec2e98 Add idempotence to ec2_eni when private_ip_address is supplied (#2172) 2016-05-19 07:55:54 +02:00
Victor Costan
76dee3d872 Add sts_session_token module for short-lived AWS credentials. (#1988) 2016-05-18 11:13:49 -07:00
Victor Costan
010286aafd Add aws_mfa_devices module for multi-factor authentication on AWS. (#1987) 2016-05-18 11:10:52 -07:00
Toshio Kuratomi
2a5812a0e8 Move the import of get_exception to pycompat24 2016-05-18 06:23:10 -07:00
kubilus1
b742ab1263 Check to see existence of same named/location system before creation. (#2150) 2016-05-18 09:26:58 +02:00
Toshio Kuratomi
e710dc47fe Add vmware and lxc to python3 checks 2016-05-17 10:39:47 -07:00
Toshio Kuratomi
8ecc3d2516 Port vspherer_copy to pass syntax checks on python3 2016-05-17 10:39:23 -07:00
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.
2016-05-17 10:34:01 -07:00
Michael Scherer
c8864c3220 Use a python3 compatible notation for octal (#2238) 2016-05-17 10:33:12 -07:00
Michael Scherer
7e97b2131b Add support for checking module on python3, like on core (#2235) 2016-05-17 10:32:14 -07:00
Shubham
e91848dfd5 Fix broken link for issue template (#2248) 2016-05-17 10:40:10 -04:00
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.
2016-05-17 13:25:40 +02:00
Daniel Vigueras
735c1b6219 Add insert support to iptables. (#1180)
Add insert support to iptables.
2016-05-16 16:25:52 -04:00
Michael Perzel
677a2dd66d Module to manage f5 virtual servers 2016-05-16 16:02:29 -04:00
Sergei Antipov
33281cc93e Fixed problem with pymongo compatibility (#1249)
* Fixed problem with pymongo compatibility

Fixes #11
2016-05-16 11:25:52 -04:00
Adrian Likins
e880bc8f75 Merge pull request #2119 from hypergig/patch-2
message template variable fix
2016-05-16 10:43:51 -04:00
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.
2016-05-16 10:42:17 -04:00
Adrian Likins
028ef0a2fa Merge pull request #2185 from resmo/feature/cs_router
cloudstack: new module cs_router
2016-05-16 10:40:50 -04:00
Adrian Likins
ae6b3ac71d Merge pull request #2225 from rusaksoft/iptables-add-icmp-type
Iptables add icmp type
2016-05-16 10:38:26 -04:00
Adrian Likins
05d9a41ca5 Merge pull request #2234 from lalinsky/zabbix-host-proxy
monitoring/zabbix_host: Fix (no) proxy handling
2016-05-16 10:34:46 -04:00
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`.
2016-05-14 11:07:24 +02:00
Constantin
8c1b672929 Added support for Standard - Infrequent Access stoarage class (#2134) 2016-05-14 10:45:05 +02:00
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.
2016-05-14 10:40:49 +02:00
Toshio Kuratomi
f953d5dc0c Docs fixes 2016-05-13 11:01:32 -07:00
Toshio Kuratomi
148a0ddabf Merge pull request #2228 from abadger/ziploader-constants
the ansible version constant is now in a different place
2016-05-13 10:14:33 -07:00
Pavel Samokha
a0566037b4 iptables module - icmp-type better doc style 2016-05-13 17:14:44 +03:00
Pavel Samokha
7092118119 fix icmp-type 2016-05-13 16:49:58 +03:00
Pavel Samokha
747f6f6736 iptables module - add icmp_type 2016-05-13 15:52:49 +03:00
Yannig
bbd53572af 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.
2016-05-13 11:28:41 +02:00
Toshio Kuratomi
a12696d598 the ansible version constant is now in a different place 2016-05-12 18:20:54 -07:00
Ian Levesque
cd03f10b9c Fix session-based kv acquire/release (#2181)
* Fix session-based kv acquire/release

* add example of using session in doc
2016-05-11 19:28:00 +02:00
Rob
9677961b8c Added better example for boto3 exception handling (#2204) 2016-05-11 12:33:52 +02:00
Michael Baydoun
2665acb257 created ec2_customer_gateway module (#1868) 2016-05-10 09:32:08 -07:00