Commit graph

8257 commits

Author SHA1 Message Date
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
Ash Berlin
d00d0d0846 Add missing urlparse import to s3_bucket (#2110)
This was triggered when S3_URL environment variable was set.
2016-05-10 08:00:13 -07:00
Michael Scherer
816673dd6f Use path type for blockinfile 'dest' argument (#2192) 2016-05-10 12:23:08 +02:00
Adrian Likins
ba4a7a7aa9 Merge pull request #2193 from Penguin2600/patch-1
high_flap_threshold documentation correction
2016-05-09 17:46:27 -04:00
René Moser
eab4b6a3e9 cs_loadbalancer_rule_member: doc fixes (#2184) 2016-05-09 21:39:00 +02:00
Charles V Bock
371c411ac3 high_flap_threshold documentation correction
Changing description of high_flap_threshold to properly reflect its function.
2016-05-09 10:11:17 -07:00
Nik LaBelle
bb965eebee change netif type to dict and update example (#2187) 2016-05-09 13:00:05 +02:00
David Keijser
7b7af3bcf9 Make it possible to manage rules of f5 vs (#1821) 2016-05-08 23:33:25 +02:00
Ben Knight
239c60ec13 Add reselect_tries option to big_pool module (#2156) 2016-05-08 23:30:04 +02:00
Rene Moser
5e008b928e
cloudstack: new module cs_router 2016-05-08 18:55:53 +02:00
René Moser
23e6875430 Merge pull request #2186 from mscherer/fix_know_host
Use type='path' rather than str, so path is expanded correctly
2016-05-08 12:13:16 +02:00
Michael Scherer
557d37d3f1 Use type='path' rather than str, so path is expanded correctly 2016-05-08 11:33:54 +02:00
Matt Martz
a4b631522d Merge pull request #2179 from sivel/ansible-testing-exclusions
Ansible testing exclusions
2016-05-07 07:36:41 -05:00
Matt Martz
61b9b48c60 No exclusions necessary 2016-05-06 14:02:23 -05:00
Matt Martz
081845b353 Fix HAS_BOTO fail_json call for ec2_ami_copy 2016-05-06 14:00:32 -05:00
Matt Martz
b4de5ec208 Reduce exclusions for ansible-testing due to fixes and changes in ansible-testing 2016-05-06 14:00:07 -05:00
Kamil Szczygiel
431591c2b4 influxdb retention policy module 2016-05-06 09:44:15 -07:00
Michael Scherer
d1b16cd007 Use type='path' for dest (#2175) 2016-05-06 10:48:41 -04:00
sebfere
85feaa6409 add monitor configuration to module "bigip_node" (#2054)
(squashed merge commits w/ new github fun, let's see if it worked)
2016-05-05 16:49:00 -07:00
nitzmahone
2e09202aae back version added to 2.1 2016-05-05 15:41:46 -07:00
Kamil Szczygiel
f193c1b96a influxdb database module 2016-05-05 15:40:34 -07:00
Rob
959bbfbf53 Add secondary IP support and allow specifying sec groups by name (#2161) 2016-05-06 00:26:40 +02:00
Maxime Montinet
77eee2b6ca rabbitmq_user: Properly initialize _permissions (#2163)
Fixes #2162
2016-05-05 14:43:36 +02:00
René Moser
72a4185edc travis: exlcude cs_template to fix build failure (#2168) 2016-05-05 12:27:38 +02:00
Lakshmi Balu
cfc6d1cf62 Update vmware_datacenter.py (#2164)
Fixed the syntac issue variable references before definiton
2016-05-05 12:24:30 +02:00
René Moser
46fb2f8d14 cs_template: fix missing docs (#2165) 2016-05-05 11:11:36 +02:00
Rene Moser
806ebef383 homebrew_cask: fix doc version_added for install_options
See #2086
2016-05-04 08:29:46 +02:00
Tim Rupp
c400598332 Reverse the unpack list operation
Instead of doing an unpack, deliberately specify which parameters you
want to use. This allows us to flexibly add more parameters to the
f5_argument_spec without having to rewrite all the modules that use
it.

Functionally this commit changes nothing, it just provides for a
different way of accessing the parameters to the module
2016-05-04 07:50:45 +02:00
Robin Roth
bb68df525c refactor zypper module
* refactor zypper module

Cleanup:
* remove mention of old_zypper (no longer supported)
  * requirement goes up to zypper 1.0, SLES 11.0, openSUSE 11.1
  * allows to use newer features (xml output)
  * already done for zypper_repository
* use zypper instead of rpm to get old version information, based on work by @jasonmader
* don't use rpm, zypper can do everything itself
* run zypper only twice, first to determine current state, then to apply changes

New features:
* determine change by parsing zypper xmlout
* determine failure by checking return code
* allow simulataneous installation/removal of packages (using '-' and '+' prefix)
  * allows to swap out alternatives without removing packages depending
    on them
* implement checkmode, using zypper --dry-run
* implement diffmode
* implement 'name=* state=latest' and 'name=* state=latest type=patch'
* add force parameter, handed to zypper to allow downgrade or change of vendor/architecture

Fixes/Replaces:
* fixes #1627, give changed=False on installed patches
* fixes #2094, handling URLs for packages
* fixes #1461, fixes #546, allow state=latest name='*'
* fixes #299, changed=False on second install, actually this was fixed earlier, but it is explicitly tested now
* fixes #1824, add type=application
* fixes #1256, install rpm from path, this is done by passing URLs and paths directly to zypper

* fix typo in package_update_all

* minor fixes

* remove commented code block
* bump version added to 2.2
* deal with zypper return codes 103 and 106
2016-05-04 07:47:47 +02:00
René Moser
f2383fe0ac Merge pull request #2086 from indrajitr/homebrew_cask_install_options
Adding install_options to homebrew_cask (see #544)
2016-05-04 07:39:13 +02:00
Rob
47fddc83be Added doc for new get_ec2_security_group_ids_from_names function in m… 2016-05-04 07:30:30 +02:00
Gonçalo Luiz
336d475746 fixed not resolving latest to snapshot for MD5 check when the file ex… 2016-05-04 07:29:15 +02:00
Adrian Likins
9d705a4208 Expect 204 status when using hipchat v2 api.
When posting to the room notication api with hipchat
v2 api, the expected return code is 204, as per:
https://www.hipchat.com/docs/apiv2/method/send_room_notification

fixes #2143
2016-05-04 07:27:17 +02:00
René Moser
eab5892944 Merge pull request #1867 from Censio/rhunter-monit-startup
monit startup fix
2016-05-03 22:51:26 +02:00
Toshio Kuratomi
675d778b50 Fix documentation 2016-05-03 10:10:28 -07:00
Michael Scherer
7fd4180857 Fix arguments and docs (#2147)
- oauthkey shouldn't be logged
- action should be restricted and checked and the
doc should correspond to the code
2016-05-02 13:21:02 -04:00
Kevin Hildebrand
9f2bc2853d 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.
2016-05-02 11:16:07 -04:00
krzwalko
12f1c85aa3 Fix datacenter_name and cluster_name module params (#2142) 2016-05-02 08:50:11 -04:00
Rudi Meyer
28ae506c12 Jira will return a HTTP status code 201 on some actions, fx. 'comment'. (#2115) 2016-05-02 08:48:03 -04:00
Jordan Cohen
c0013af14c doc update to demostrate message template vars 2016-05-02 07:30:15 -04:00