Commit graph

8700 commits

Author SHA1 Message Date
Robin Roth
dc15d3569f allow to specify versions with zypper (#2328)
* fixes #2158
* handles version-specifiers (>,<,>=,<=,=) correctly
* adds option "oldpackage", which is passed to zypper
  * this is implied as soon as a version is specified
  * it can be used independently to allow downgrades coming from repos
* add __main__ check
* extend documentation on version specifier
2016-08-10 08:56:39 +02:00
Matthieu Barthélemy
bfbc0bd458 Slack: Fix #2393 - Enable markdown parsing when using custom messsage color (#2626) 2016-08-10 08:52:18 +02:00
Indrajit Raychaudhuri
99763bc91d Add path type in homebrew 'path' option (#2692) 2016-08-10 08:50:53 +02:00
Ryan Brown
7ffd42f727 Merge pull request #1901 from linuxdynasty/kinesis_streams
Add `kinesis_stream` module to create/delete/update AWS Kinesis streams
2016-08-09 16:29:28 -04:00
Brian Coca
5432c33324 added unsafe_writes to blockinfile (#2701)
depends on  http://github.com/ansible/ansible/issues/17016
2016-08-09 12:39:34 -04:00
Matt Martz
35aa1a5a81 If rc is null, assume that a timeout happened. Fixes #2484 (#2485) 2016-08-09 10:36:45 -05:00
Dagobert Michelsen
93472c3c54 Do not return failure when the package is installed and nothing is done (#1852) 2016-08-09 08:47:00 -04:00
Tim Rupp
e8b29dd750 Adds style conventions for bigip_node (#2697)
A number of coding conventions have been adopted for new F5 modules
that are in development. To ensure common usage across the modules,
this module needed to be updated to reflect those conventions.

No functional code changes were made.
2016-08-09 08:35:36 +02:00
Adam Števko
eaa71f51d6 Add support for managing OpenZFS pools (#2642) 2016-08-08 11:49:18 -04:00
Dan Keder
ebb8d73d57 seport: fix a bug when SELinux port definition was already there (#2009) (#2694) 2016-08-08 08:49:38 -04:00
René Moser
8fae447ee8 apk: fix LANG != C while parsing stdout (#2689) 2016-08-07 21:44:07 +02:00
Kevin Brebanov
f366f5a943 apk: Add support for updating virtual packages (#2686)
Fixes: #2389
2016-08-07 21:43:40 +02:00
Manuel Sousa
73a3cd6aeb RabbitMQ-Binding - Allow empty routing key (#2674)
Fixes: #1985
2016-08-06 18:27:27 +02:00
ovcharenko
31a027e2cd [FIX] Bug report: ufw: interface option causes an error (1.9.4) (#1491) (#2668) 2016-08-06 14:39:03 +02:00
Massimo Gervasini
34b4c34306 when write_config is no, we should not try to write any configuration changes 2016-08-06 18:48:26 +08:00
trondhindenes
2d992fe750 updated documentation for win_package (#2677) 2016-08-06 09:45:46 +02:00
Brian Coca
7a73e2a3aa make sure nic is always defined (#2678) 2016-08-05 19:02:26 -04:00
Matt Clay
33716b1837 Use open_url directly to avoid failing tests. (#2680) 2016-08-05 11:28:02 -07:00
Indrajit Raychaudhuri
d4b0732c9f List homebrew options aliases in documentation (#2671) 2016-08-05 17:50:23 +02:00
Indrajit Raychaudhuri
d3dbfa3c13 List pacman options aliases in documentation (#2670) 2016-08-05 17:48:08 +02:00
Linus Unnebäck
344dcc95c0 iptables: remove duplicated documentation (#2673)
Fixes #1527
2016-08-05 09:26:30 -04:00
Ryan Brown
7e1bf4fc8f Merge pull request #1882 from linuxdynasty/new_ec2_vpc_nat_gateway
Add new `ec2_vpc_nat_gateway` module for managing AWS NAT gateways and their EIPs
2016-08-05 09:11:48 -04:00
Allen Sanabria
950d76af0b fixed error message for releasing an ip when not waiting for the nat gateway to delete successfully 1st 2016-08-04 20:26:08 -07:00
Allen Sanabria
dcf4d7e6e5 fail_json when error and not exit_json 2016-08-04 17:15:31 -07:00
Allen Sanabria
461553bda8 updated tests to reflect dict vs list 2016-08-04 13:10:11 -07:00
Allen Sanabria
123c70546e clean up documentation 2016-08-04 13:00:35 -07:00
Serge van Ginderachter
fc76455326 return a proper result set for getmaster/getslave (#2595)
* return a proper result set for getmaster/getslave

when not on a master/slave.
This allows for a cleaner error handling.

* A more uniform return of result keys for getmaster/slave
2016-08-04 08:27:39 -07:00
Serge van Ginderachter
9a47088d67 Exception handling for MySQLdb warnings (#2594)
Do not fail the module for warnings.
Return warnings in the module result set.

Fixes #719
Alternative to #720 and as discuseed over there.
2016-08-04 08:17:10 -07:00
Thierno IB. BARRY
e9bbd3a403 Add kibana_plugin module (#2621)
* kibana_plugin: add the kibana_plugin module

* kibana_plugin: update doc

* kibana_plugin: add check mode and fix few coding style issues

* kibana_plugin: use return instead conditional statement for check mode
2016-08-04 09:09:45 +02:00
Allen Sanabria
ab62c644bc updated catch statement to pass test (as e) 2016-08-03 12:38:05 -07:00
Allen Sanabria
8af1063785 Make sure to catch if no gateways exist 2016-08-03 12:38:05 -07:00
Allen Sanabria
4e8e38f631 remove boto 2016-08-03 12:38:05 -07:00
Allen Sanabria
2e42c72447 version bump 2016-08-03 12:38:05 -07:00
Allen Sanabria
79ea553200 Module requires boto due to ec2.py 2016-08-03 12:38:05 -07:00
Allen Sanabria
aa189b8d98 Added default result of None in catch statement 2016-08-03 12:38:05 -07:00
Allen Sanabria
ee523be26c Updated module to be compliant with test cases.
* Added integration tests
* Added unit tests
2016-08-03 12:38:05 -07:00
Allen Sanabria
349db85b00 Fixed the missing argument to get_eip_allocation_id_by_address 2016-08-03 12:38:05 -07:00
Allen Sanabria
f86c5f8465 Manage AWS Nat Gateways
* Create an AWS Nat Gateway.
* Delete an AWS Nat Gateway.
* If Nat Gateway exist in subnet and the option is passed to not create one, it will then return the Nat Gateway object.
2016-08-03 12:38:05 -07:00
James Cammarata
6fb1ec9def Merge pull request #2652 from logicmonitor/logicmonitor
Add logicmonitor and logicmonitor_facts modules
2016-08-03 14:04:36 -05:00
John R Barker
44948d3f15 Merge pull request #2323 from bendoh/bendoh-archive-module
New Module: archive
2016-08-03 11:16:03 -07:00
Filipe Niero Felisbino
e2e697c3ff Fix attachment issue ( thanks @gunzy83 ) 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
753ddf87ac Change attached parameter default to None 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
c81e88856a Add "version_added" to attached attribute 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
3099b607c1 Add attached parameter to ec2_eni module 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
8461524904 Add RETURN docs 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
178caff2ed Fix docs 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
27c4beb19d Fix the AMI creation/modification logic thus making it idempotent 2016-08-03 10:10:53 -03:00
Andrea Scarpino
b28daebc2b win_firewall_rule: fix "property X doesn't exist"
After commit 9392943 more properties are always sets with their defaults
values (e.g. service to 'any'). This causes no issue when the rule is created,
but causes an error message that says "The property 'X' cannot be found on this
object. Verify that the property exists." because the module checks for
any property value that has changed, but `netsh advfirewall firewall show rule`
does not list any property unless `verbose` is set. This patch solves this.

Fixes #2624
2016-08-03 11:05:08 +02:00
Robin Schneider
57c142b6ed Use HTTPS instead of legacy HTTP for ansible.com (#2636)
Mechanical edit done by this "one-liner":

git ls-files -z "$(git rev-parse --show-toplevel)" | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's#http://www\.ansible\.com#https://www.ansible.com#g;'

Related to: https://github.com/ansible/ansible/issues/16869
2016-08-02 21:12:51 +02:00
Jeff Wozniak
679f30dd20 Add logicmonitor and logicmonitor_facts modules 2016-08-02 11:13:39 -07:00