Commit graph

25161 commits

Author SHA1 Message Date
Brian Coca
bb418095a3 minor fixes to gluster: - removed functions from main scope - renamed rebalance function to disambiguate from variable - updated docs with defaults - added exception handling to command execution 2016-12-08 11:32:31 -05:00
Kevin Carter
2ff3a8d35f Updated lxc_container module to fix option parsing
The option parsing object within the module was performing a split
on an '=' sign and assuming that there would only ever be one '='
in a user provided option. Sadly, the assumption is incorrect and
the list comprehension that is building the options list needs to
be set to split on the first occurrence of an '=' sign in a given
option string. This commit adds the required change to make it
possible for options to contain additional '=' signs and be handled
correctly.
2016-12-08 11:32:31 -05:00
Tyler Kellen
12b2cab5ba correct version_added for known_hosts
It was added in 1.9, not 1.6.
2016-12-08 11:32:31 -05:00
Brian Coca
8d086a2444 removed requirements which was causing crash with dupe from shared doc fragments 2016-12-08 11:32:30 -05:00
Brian Coca
caeeacd4f4 minor documentation fixes 2016-12-08 11:32:30 -05:00
Cove Schneider
0456685726 add zabbix_screen 2016-12-08 11:32:30 -05:00
Cove Schneider
0a2334069d add zabbix_hostmacro 2016-12-08 11:32:30 -05:00
Cove Schneider
a138a5dcf4 add zabbix_host 2016-12-08 11:32:30 -05:00
Toshio Kuratomi
f68bba7b1a Port is an integer so use arg_spec to enforce that. 2016-12-08 11:32:30 -05:00
Toshio Kuratomi
77041aec47 remove non-ascii quotes from message string
Fixes https://github.com/ansible/ansible/pull/8564
2016-12-08 11:32:30 -05:00
Jesse Keating
dce3597782 Add enabled/disabled support to bigip_node
This allows one to enable or disable a node, useful for when doing
maintenance on a node to prevent connections from being attempted to it.

This will completely disable the node for any pool it might be in.
2016-12-08 11:32:30 -05:00
Brian Coca
d32dca116b moved cloudtrail to amazon subdir 2016-12-08 11:32:30 -05:00
tedder
20e0afcac8 Handful of changes after bcoca's code review:
* update expected inclusion version
* fix consistency on enabled/absent (now enabled/disabled)
* safely import boto per now style of single-exit and proper JSON
* use new `required_together` module style
2016-12-08 11:32:30 -05:00
tedder
bb1bc0fe4f add cloudtrail module
Cloudtrail is the AWS auditing configuration. It's fairly simple, but also very important to configuration management/devops/security to ensure it remains enabled. That's why I created it as a module.
2016-12-08 11:32:30 -05:00
Brian Coca
c04e95865a remove x bit 2016-12-08 11:32:30 -05:00
Brian Coca
bed45f3ce9 moved to 2016-12-08 11:32:30 -05:00
chris.schmidt
b2247e378b Added check for "latest" in version field 2016-12-08 11:32:30 -05:00
chris.schmidt
e7c39a30ca Removed version check from main as it is checked in the download function. Having the check here was breaking "latest version" functionality. 2016-12-08 11:32:30 -05:00
Chris Schmidt
4c71598049 Fixed bug where passing a directory as dest failed 2016-12-08 11:32:30 -05:00
Chris Schmidt
7b46f1215d Changed "target" to "dest" 2016-12-08 11:32:29 -05:00
Chris Schmidt
469e874697 Renamd Module File 2016-12-08 11:32:29 -05:00
Chris Schmidt
73d34220dd Renamted module from download_artifact to maven_artifact 2016-12-08 11:32:29 -05:00
Chris Schmidt
15ac6aa0ea Updated w/ license
Added license
Added TODO for a “latest” state
Removed pending “latest” state work
2016-12-08 11:32:29 -05:00
Chris Schmidt
d219e6573f Added the download_artifact module
The download_artifact module resolves a maven dependency coordinate and
downloads the artifact to the target path
2016-12-08 11:32:29 -05:00
David Wittman
ef0f852041 Fix multiple issues with alternatives module
- Changes are no longer erroneously reported on RHEL (#12)
 - Adding new link groups on Debian works again.
   - This was broken in a previous commit by assuming the OS was RHEL
     if `update-alternatives --query <name>` had a return code of 2
 - Prefer `--display` over `--query` for determining available
   alternatives
   - --display is more distro-agnostic and simplifies the code
 - Fix missing `msg=` in `fail_json` call when `link` is missing
 - Document that `link` is required on RHEL-based distros

Tested on Ubuntu 12.04+ and CentOS 6/7
2016-12-08 11:32:29 -05:00
Sebastian Gumprich
906cca041b Added documentation and example for port ranges.
Also added punctuation marks.
2016-12-08 11:32:29 -05:00
Julien Pepy
97ed348e17 Clean options building in Composer module 2016-12-08 11:32:29 -05:00
Brian Coca
9fd9f3766e updated pushover version added 2016-12-08 11:32:29 -05:00
Jim Richardson
5edd0274de clarification of error and success messages 2016-12-08 11:32:29 -05:00
Jim Richardson
34f2ebc0ab remove extraneous info from preamble 2016-12-08 11:32:29 -05:00
Jim Richardson
becbf95d5d slight tweak to preamble to bring into common with other ansible modules 2016-12-08 11:32:29 -05:00
Jim Richardson
d7fcefac32 initial stab at pushover notification module 2016-12-08 11:32:29 -05:00
Brian Coca
8a785700c3 added version added to new color option 2016-12-08 11:32:29 -05:00
Phillip Holmes
66aa605367 added color bar option to Slack module
This update will allow people to add a color bar at the front of a
Slack notification using the default 3 colors by name Slack specify
(good, warning, danger).

If no color is specified, or the default is used (normal) then no bar
will be added.

Description and example also added in this update.

Color bars are added by using the attachments json object inside the
payload - this is a very simplistic implementation as using custom
colors or adding titles or other formatting are not included in this
update and if needed I’m sure somebody else can spend the time to add
them later…

Tested with ansible 1.7
2016-12-08 11:32:29 -05:00
Dustin C. Hatch
3e5a7bd475 system/lvol: Suppress prompts from lvcreate
Occasionally, `lvcreate` will prompt on stdin for confirmation. In
particular, this may happen when the volume is being created close to
the location on disk where another volume existed previously. When this
happens, Ansible will hang indefinitely with no indication of the
problem. To work prevent this problem, the `--yes` command-line argument
can be passed to `lvcreate`, which will instruct it not to prompt.

Signed-off-by: Dustin C. Hatch <dustin@hatch.name>
2016-12-08 11:32:29 -05:00
HPLogsdon
8efd7d217e Fix typo in hipchat notification failure message.
Wish it could be more substantial, but alas, it's just a typo in a string.
2016-12-08 11:32:28 -05:00
Ben Copeland
770bf6b35f Added example block for the "SMTP username and password" 2016-12-08 11:32:28 -05:00
Dariusz Owczarek
3d93d22e54 new vertica modules 2016-12-08 11:32:28 -05:00
Marc Abramowitz
128cf5fd74 Add validate_certs param to bigip_* modules
Ignoring SSL cert verification may be necessary when testing with a
server that has a self-signed certificate.

See
https://github.com/ansible/ansible-modules-extras/pull/288#issuecomment-85196736
2016-12-08 11:32:28 -05:00
Brian Coca
bad5666c9e added missing __init__.py 2016-12-08 11:32:28 -05:00
Toshio Kuratomi
4ada937207 Make our regex match the homebrew tap upstream regex.
Fixes #312
Fixes #297
2016-12-08 11:32:28 -05:00
Brian Coca
1537c297b3 fixed doc issue (missing description and corrected version added) 2016-12-08 11:32:28 -05:00
Toshio Kuratomi
03be4fc2cb Don't know why but the 1.8.x branch didn't include the commit for crypttab.
Update documentation to show it is new in 1.9 as a result of that
oversight.
2016-12-08 11:32:28 -05:00
Dmitry Bashkatov
00c6f0b888 gluster_volume: remove redundant code 2016-12-08 11:32:28 -05:00
Dmitry Bashkatov
e0b6586c41 gluster_volume: use force option during add-brick 2016-12-08 11:32:28 -05:00
Dmitry Bashkatov
561df9ce94 gluster_volume: fixes, new "force" option 2016-12-08 11:32:28 -05:00
Ben Copeland
85f159eda3 Catch the error for non-ssl SMTP 2016-12-08 11:32:28 -05:00
Ben Copeland
cf941fc23a adding username/password support along with ssl/starttls 2016-12-08 11:32:28 -05:00
Larry Gilbert
cdc90f723f pkgin: support check mode, make other improvements
* Add support for check mode
* Use "pkgin search" to guarantee 0 or 1 result
* Edit documentation for style, new feature, etc.
* General refactoring
* Lay some groundwork for future support of "state=latest"
2016-12-08 11:32:28 -05:00
Brian Coca
a5d1d48e80 added installation info .. that you don't need to 2016-12-08 11:32:28 -05:00