1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

13578 commits

Author SHA1 Message Date
Richard Metzler
7fddb83f91 letsencrypt: update URL for agreement pdf (#2696)
The Let's Encrypt Subscriber Agreement changed on Aug 01, 2016
https://letsencrypt.org/repository/
2016-12-08 11:34:42 -05:00
Matt Clay
2224a7b5a7 Enable CI on Shippable for OS X. (#2779) 2016-12-08 11:34:42 -05:00
Brian Coca
64e11d202c updated blacklist 2016-12-08 11:34:42 -05:00
Adrian Likins
9fb53e12ce Add a 'requirements:' field to cloudflare_dns doc (#2631)
cloudflare_dns.py makes use of the python
2.6 features (the string .format() method).
2016-12-08 11:34:42 -05:00
Brian Coca
24b4b1b762 renamed bmc to remote_management to clarify 2016-12-08 11:34:42 -05:00
Kevin Carter
eab15da081 Remove the subsystem lock loop (#2647)
This change removes the loop watching for "/var/lock/subsys/lxc" from
the lxc-container module. This change simply runs the command within
a container using the lxc CLI tools which should be responcible for
locking and unlocking on their own.

Closes-Issue: https://github.com/ansible/ansible-modules-extras/issues/690
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-12-08 11:34:42 -05:00
ovcharenko
3e31eaf419 ufw fails asking for a direction for rules without an interface specified [#2758] (#2759) 2016-12-08 11:34:42 -05:00
Angus Williams
692fb45e26 bigip_pool_member: fix idempotency with session_state argument (#2745) 2016-12-08 11:34:42 -05:00
Tim Rupp
68d819e342 Another bootstrapping module, this module allows for one to manage route domains on a BIG-IP.
Tests for this module can be found here

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

Platforms this was tested on are

11.6.0
12.0.0
12.1.0
12.1.0 HF1
2016-12-08 11:34:42 -05:00
Tim Rupp
f84b4f1168 Adds the bigip_selfip module
Another bootstrapping module, this module allows for one to manage
self IP addresses on a BIG-IP.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_selfip/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:42 -05:00
whiter
685803dbcc New module s3_website to manage static sites on Amazon S3 2016-12-08 11:34:42 -05:00
Rob White
f420adfc99 New module - ec2_asg_facts
Gathers facts about multiple of single AWS autoscaling groups.
2016-12-08 11:34:41 -05:00
nitzmahone
6db9ed981e clean up win_chocolatey doc bugs, remove redundant 2016-12-08 11:34:41 -05:00
Greyeye
4bae025666 pass flag to choco, allowemptychecksums and ignorechecksums (#2722) 2016-12-08 11:34:41 -05:00
Saravanan K R
75f395dd34 Added modules to manage Atomic Host Platform (host and image) (#1902)
* Added modules to manage Atomic Host Platform (host and image)

* Fixed review comments

* Fixed requirements and locale setting
2016-12-08 11:34:41 -05:00
Brian Coca
1cfdfac139 updated version_added to be string 2016-12-08 11:34:41 -05:00
Brian Coca
3787b9baf8 fixed incorrect import deps (#2747) 2016-12-08 11:34:41 -05:00
nitzmahone
2c87fe3b58 make the win_chocolatey force arg actually work
fixes #1561
2016-12-08 11:34:41 -05:00
nitzmahone
a2f9e0d2fe isolate chocolatey bootstrapper execution
fixes #2742
added output capture/return, exit code check to bootstrapper exec
2016-12-08 11:34:41 -05:00
Robyn Bergeron
fa511fa763 Update GUIDELINES.md 2016-12-08 11:34:41 -05:00
Robyn Bergeron
1f873bac54 creating GUIDELINES.md
Made a copy from MAINTAINERS.md (and then need to delete maintainers.md).
2016-12-08 11:34:41 -05:00
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
Allen Sanabria
cca24b0eac Make sure to catch if no gateways exist 2016-12-08 11:34:38 -05:00
Allen Sanabria
015cf1f785 Added default result of None in catch statement 2016-12-08 11:34:37 -05:00
Allen Sanabria
43da26404b Updated module to be compliant with test cases.
* Added integration tests
* Added unit tests
2016-12-08 11:34:37 -05:00
Allen Sanabria
ec2b499959 Fixed the missing argument to get_eip_allocation_id_by_address 2016-12-08 11:34:37 -05:00
Allen Sanabria
0d7d778c82 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-12-08 11:34:37 -05:00
Serge van Ginderachter
c1fd6c6388 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-12-08 11:34:37 -05:00
Serge van Ginderachter
121ef13e47 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-12-08 11:34:37 -05:00
Thierno IB. BARRY
4fc6fc438a 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-12-08 11:34:37 -05:00
Jeff Wozniak
9d0eecc873 Add logicmonitor and logicmonitor_facts modules 2016-12-08 11:34:37 -05:00
Ben Doherty
0380006e00 expanduser() on dest 2016-12-08 11:34:37 -05:00
Ben Doherty
51ab6cdc0d Refactor computation of archive filenames, clearer archive filename 2016-12-08 11:34:37 -05:00
Ben Doherty
87c8a21d16 Don't try to walk over files when building archive 2016-12-08 11:34:37 -05:00
Ben Doherty
42112060b5 Rename 'archive' -> 'arcfile' in compress branch 2016-12-08 11:34:37 -05:00
Ben Doherty
b0211c72d7 Change 'creates' parameter to 'dest' 2016-12-08 11:34:37 -05:00
Ben Doherty
fb03fc8eb1 Refactor zip and tarfile loops together, branch where calls are different
This fixed a few bugs and simplified the code
2016-12-08 11:34:37 -05:00
Benjamin Doherty
8fc2a22b4c Add 'default' to docs for 'compression' option 2016-12-08 11:34:37 -05:00
Ben Doherty
102ee6a3b4 Some refactoring:
* rename archive -> arcfile (where it's a file descriptor)
* additional return
* simplify logic around 'archive?' flag
* maintain os separator after arcroot
* use function instead of lambda for filter, ensure file exists before file.cmp'ing it
* track errored files and fail if there are any
2016-12-08 11:34:36 -05:00
Ben Doherty
d4b51adf72 Reword comments slightly 2016-12-08 11:34:36 -05:00
Ben Doherty
e10e1e358c Documentation updates 2016-12-08 11:34:36 -05:00
Ben Doherty
506f3f68f1 Use different syntax in lambda 2016-12-08 11:34:36 -05:00
Ben Doherty
c9291e06f6 Make remove default to false. It's less frightening. 2016-12-08 11:34:36 -05:00
Ben Doherty
3c8d788c11 Don't use <x> if <y> else <z> syntax 2016-12-08 11:34:36 -05:00
Ben Doherty
c5b9bda656 Accept 'path' as a list argument, expose path and expanded_path,
Use correct variable in expanduser
2016-12-08 11:34:36 -05:00
Ben Doherty
2aa3f52bf3 Fix up for zip files and nesting logic.
* Don't include the archive in the archive if it falls within an archived path
* If remove=True and the archive would be in an archived path, fail.
* Fix single-file zip file compression
* Add more documentation about 'state' return
2016-12-08 11:34:36 -05:00
Ben Doherty
3be65b66d1 Add license 2016-12-08 11:34:36 -05:00
Ben Doherty
90fdc71728 Add compressed file source to successes when succeeds! 2016-12-08 11:34:36 -05:00
Ben Doherty
bab1f5c082 Add RETURN documentation 2016-12-08 11:34:36 -05:00
Ben Doherty
409f67584e Fix write mode for ZipFiles ('wb' is invalid!) 2016-12-08 11:34:36 -05:00
Ben Doherty
3465375e42 Drop extra double-quote from documentation 2016-12-08 11:34:36 -05:00