Commit graph

27242 commits

Author SHA1 Message Date
Shinichi TAMURA
a3860ecf1e Allow value to be bool where 'yes'/'no' are in choices (#2593)
* Changed type of 'details' argument to bool on ecs_service_facts module.

* Changed type of 'autostart' argument to bool on virt_* modules.

* Changed types of 'autoconnect' and 'stp' argument to bool on nmcli module.
('create_connection_bridge(self)' and 'modify_connection_bridge(self)' are not implemented yet?)

* Added conversion of 'value' argument when 'vtype' is boolean on debconf module.
2016-12-08 11:34:41 -05:00
Andrea Scarpino
b54d352a69 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-12-08 11:34:41 -05:00
Tim Rupp
e68aa4747f Introduces the bigip_gtm_datacenter module (#1000)
This module can be used to manipulate data centers in a BIG-IP.
It supports both the iControl SOAP and iControl REST APIs, but default
to the REST API. With this module, you can perform operations similar
to those available in tmsh to create data centers and set the contact,
location, and description of those data centers.

This module is most useful in the initial provisioning of a BIG-IP
2016-12-08 11:34:41 -05:00
Tim Rupp
a32f37c9b6 Introduces the bigip_sys_db module (#998)
This module can be used to directly manipulate the system database
variables in a BIG-IP. It supports both the iControl SOAP and iControl
REST APIs, but default to the REST API. With this module, you can
perform operations similar to those available in tmsh to set system
variables such as turning off the default setup screen.

This module is most useful in the initial provisioning of a BIG-IP
2016-12-08 11:34:41 -05:00
Tim Rupp
e624a794ac Adds bigip_vlan module (#2661)
This module can be used to manage VLANs in BIG-IP on various software
versions. It is part of a bootstrapping effort underway to provide
modules necessary to bootstrap core settings in a BIG-IP.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_vlan/tasks/main.yaml

Platforms this was tested on are

  - 11.5.4 HF1
  - 11.6.0
  - 12.0.0
  - 12.1.0 HF1
2016-12-08 11:34:40 -05:00
ovcharenko
3c0a946f2d "Invalid interface clause" error in UFW module (#2559) (#2666)
Fixes GH-2559
2016-12-08 11:34:40 -05:00
George Christou
d6f62694e2 Fix bug in counting subnets by Name tag (#1643)
Fixes #1551
2016-12-08 11:34:40 -05:00
Onni Hakala
e863dcc92a Added example to add a port range (#2712)
I tried to google for this a bit and then figured out how it actually works.
2016-12-08 11:34:40 -05:00
Matt Clay
0de2d14bac Update call to generate-tests. 2016-12-08 11:34:40 -05:00
Trevor Kensiski
b2337a7ef7 Adding datadog monitor locked option. http://docs.datadoghq.com/api/#monitor-create (#2698) 2016-12-08 11:34:40 -05:00
Jose Armesto
980298024a Added module to find Launch Configurations (#1023)
* Added module to find Launch Configurations

* Simplified parameters to search
2016-12-08 11:34:40 -05:00
Naoya Nakazawa
44bcad7d8a ready_for_review datadog_event module: Datadog API http status code 202 is ok. Ref: http://docs.datadoghq.com/api/ (#2117)
* Use official datadog create event API.

* Fix exception
2016-12-08 11:34:40 -05:00
jctanner
859ff8e886 Fix vmware_guest disk and nic parameters and docstrings (#2705)
* Fix vmware_guest disk and nic parameters and docstrings
* vmware_guest: remove default for required params
2016-12-08 11:34:40 -05:00
Indrajit Raychaudhuri
384255cada Update homebrew_cask with additional cask features and doc updates (#2682)
Changes:
- Document missing 'path' option and remove redundant brew_path manipulation
- Add 'update_homebrew' option since 'brew cask update' as a synonym for
  'brew update' is available nowadays
- Add additional missing aliases documentation
- Port additional improvements (expanded support for brews path, cask path
  patterns etc.)
- Allow proper `list` type support for 'name' option.
2016-12-08 11:34:40 -05:00
Indrajit Raychaudhuri
8702ead0a7 Update homebrew_tap to support custom tap URL via optional 'url' option (#2672)
This allows doing 'brew tap <url>' where the URL is not assumed to be on GitHub,
and the protocol doesn't have to be HTTP. Any location and protocol that git can
handle is fine.

While at it, allow proper `list` type support for 'name' option and update
module documentation for option aliases.
2016-12-08 11:34:40 -05:00
Fernando José Pando
6c94aa4dd7 elb facts fixup (#2099)
* elb facts fixup

* return tags and logic fixup

* return tags and dont fail on nonexisting elb name
2016-12-08 11:34:40 -05:00
Robin Roth
85b1bd5c90 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-12-08 11:34:40 -05:00
Matthieu Barthélemy
adfd990232 Slack: Fix #2393 - Enable markdown parsing when using custom messsage color (#2626) 2016-12-08 11:34:40 -05:00
Indrajit Raychaudhuri
69a3e66460 Add path type in homebrew 'path' option (#2692) 2016-12-08 11:34:40 -05:00
Allen Sanabria
14476c0e8b Now when number of shards is different than what is the stream currently, it will fail.\n\nShards can not be changed on an already created stream 2016-12-08 11:34:40 -05:00
Allen Sanabria
11f4aa6538 version bump 2016-12-08 11:34:39 -05:00
Allen Sanabria
88c08efacd Module requires boto due to ec2.py 2016-12-08 11:34:39 -05:00
Allen Sanabria
fd810d16bf Removed Ansible API based tests from this PR 2016-12-08 11:34:39 -05:00
Allen Sanabria
c6fdb7ceda Including unit tests.
* Including unit tests as per https://groups.google.com/forum/#!topic/ansible-devel/ejY4CjKeC34
* This test suite is automatically run in https://github.com/linuxdynasty/ld-ansible-modules
2016-12-08 11:34:39 -05:00
Allen Sanabria
b336c5a606 updated module to accept check_mode in every boto call 2016-12-08 11:34:39 -05:00
Allen Sanabria
2f5992c70f Removed test as they will not be ran by Ansible.
* I will include tests in my personal repo which will contain all
modules written by me with their associated tests.
2016-12-08 11:34:39 -05:00
Allen Sanabria
133b5ccdde Added test to kinesis_stream module.
* Update kinesis_stream based on tests.
* Added tests for kinesis_stream.
2016-12-08 11:34:39 -05:00
Allen Sanabria
24fb52c83b update doc string 2016-12-08 11:34:39 -05:00
Allen Sanabria
649e6f42b7 Create, Delete, and Modify a Kinesis Stream.
* Create a Kinesis Stream.
* Tag a Kinesis Stream.
* Update the Retention Period of a Kinesis Stream.
* Delete a Kinesis Stream.
* Wait for a Kinesis Stream to be in an ACTIVE State.
2016-12-08 11:34:39 -05:00
Brian Coca
7691af8ce6 added unsafe_writes to blockinfile (#2701)
depends on  http://github.com/ansible/ansible/issues/17016
2016-12-08 11:34:39 -05:00
Matt Martz
ed832c89f4 If rc is null, assume that a timeout happened. Fixes #2484 (#2485) 2016-12-08 11:34:39 -05:00
Dagobert Michelsen
87be961c1d Do not return failure when the package is installed and nothing is done (#1852) 2016-12-08 11:34:39 -05:00
Tim Rupp
a367a9ac01 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-12-08 11:34:39 -05:00
Adam Števko
081e6ec032 Add support for managing OpenZFS pools (#2642) 2016-12-08 11:34:39 -05:00
Dan Keder
2bfbfbb3ff seport: fix a bug when SELinux port definition was already there (#2009) (#2694) 2016-12-08 11:34:39 -05:00
René Moser
a4427d55c3 apk: fix LANG != C while parsing stdout (#2689) 2016-12-08 11:34:38 -05:00
Kevin Brebanov
cf87e1d9b2 apk: Add support for updating virtual packages (#2686)
Fixes: #2389
2016-12-08 11:34:38 -05:00
Manuel Sousa
4289354ce5 RabbitMQ-Binding - Allow empty routing key (#2674)
Fixes: #1985
2016-12-08 11:34:38 -05:00
ovcharenko
bdf1a087cb Bug report: ufw: interface option causes an error (1.9.4) (#1491) (#2668) 2016-12-08 11:34:38 -05:00
trondhindenes
20844c1ef6 updated documentation for win_package (#2677) 2016-12-08 11:34:38 -05:00
Brian Coca
edcac217f5 make sure nic is always defined (#2678) 2016-12-08 11:34:38 -05:00
Matt Clay
38d1cce5d1 Use open_url directly to avoid failing tests. (#2680) 2016-12-08 11:34:38 -05:00
Indrajit Raychaudhuri
93fd941c66 List homebrew options aliases in documentation (#2671) 2016-12-08 11:34:38 -05:00
Indrajit Raychaudhuri
f901e215ad List pacman options aliases in documentation (#2670) 2016-12-08 11:34:38 -05:00
Linus Unnebäck
705f54ac18 iptables: remove duplicated documentation (#2673)
Fixes #1527
2016-12-08 11:34:38 -05:00
Allen Sanabria
dd63eb7a7a fixed error message for releasing an ip when not waiting for the nat gateway to delete successfully 1st 2016-12-08 11:34:38 -05:00
Allen Sanabria
ba17bdf1d0 fail_json when error and not exit_json 2016-12-08 11:34:38 -05:00
Allen Sanabria
38349f226a updated tests to reflect dict vs list 2016-12-08 11:34:38 -05:00
Allen Sanabria
1ddfa76c12 clean up documentation 2016-12-08 11:34:38 -05:00
Allen Sanabria
5a6f875487 updated catch statement to pass test (as e) 2016-12-08 11:34:38 -05:00