Commit graph

24840 commits

Author SHA1 Message Date
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
Chad Norgan
2091b040ff Ignore lines that do not have the key in them
Some switches return multi-line output, which breaks the split function,
the change seeks to only preform the split on a line that has the key.
2016-12-08 11:32:27 -05:00
Richard Gray
e6bf26967c Set default for locale_gen state parameter
Fix the state parameter for the locale_gen module to be non-mandatory
with a default value of 'present', as indicated by the module
documentation.
2016-12-08 11:32:27 -05:00
Matthew Vernon
1e21e34e0f Changes from Brian Coca's review of this module
These are all the code changes from Brian's review:
* change #! line
* rename "host" to "name" [keep as alias]
* make documentation clearer
* imports 1 per line
* use get_bin_path to find ssh-keygen
* key not actually required when removing host
2016-12-08 11:32:27 -05:00
Matthew Vernon
e76ad916ef known_hosts: manage ssh known_hosts files with ansible.
The known_hosts module lets you add or remove a host from the
known_hosts file. This is useful if you're going to want to use the
git module over ssh, for example. If you have a very large number of
host keys to manage, you will find the template module more useful.

This was pull request 7840 from the old ansible repo, which was
accepted-in-principle but not yet merged. The mailing list thread
reading it is:

https://groups.google.com/forum/#!topic/ansible-devel/_e7H_VT6UJE/discussion
2016-12-08 11:32:27 -05:00
Misho Krastev
fcf8223dfe fix lvol module to properly query the size of logical volumes 2016-12-08 11:32:27 -05:00
Toshio Kuratomi
e00462712d The old slack webhook API still works. It's just deprecated by slack.
Analyze the given token and use the old webhook format if the token
is old style and use the new format if the token is new style.  Make
domain optional with new-style tokens.

Fixes #157
2016-12-08 11:32:27 -05:00
Simon JAILLET
c7b3dea395 composer: Fix changed status
Fix `changed` status that always returns False with composer.

This [previous PR](https://github.com/ansible/ansible-modules-extras/pull/61) had fixed the issue but because of a [Composer recent change](cb336a5416) stderr is now used for reporting information meant for humans while stdout is more for the output of the command.

This PR would definilty solve this issue.
2016-12-08 11:32:27 -05:00
Benjamin Kluck
56ecf602dc svc: Add kill command (svc -k) 2016-12-08 11:32:27 -05:00
Toshio Kuratomi
88fea228dc Fix postgresql_ext documentation 2016-12-08 11:32:27 -05:00
Toshio Kuratomi
d0ccafb6f5 Move other postgres module into the postgresql hierarchy 2016-12-08 11:32:27 -05:00
Daniel Schep
fe0e860d82 Import @dschep's module for installing postgres extensions.
Reviewed by @bcoca as a PR against the core repo here:
https://github.com/ansible/ansible-modules-core/pull/21
2016-12-08 11:32:27 -05:00
André Luiz dos Santos
f569b512c9 Variable name typo 2016-12-08 11:32:27 -05:00
Brian Coca
a7e20b4110 updated lxc-containter docs to reflect new name 2016-12-08 11:32:27 -05:00
Maciej Delmanowski
89179ed267 Rename 'lxc-container' module to 'lxc_container'
This is done to keep the convention of naming modules with underscores
instead of hypens.
2016-12-08 11:32:27 -05:00
Alexander Gubin
80e2de0e5d lvol: Cast size(LogicalVolumeSize) to lower to fix the difference between lvs and lvcreate 2016-12-08 11:32:27 -05:00
Konstantin
4602ca7bf4 pkgutil.py syntax fix 2016-12-08 11:32:27 -05:00
Matt Hite
d4b996203a Another potential fix for issue 109; now catches WebFault 2016-12-08 11:32:26 -05:00
Brian Coca
ed8842be47 removed unused import json which breaks 2.4/simplejson compat 2016-12-08 11:32:26 -05:00
Dagobert Michelsen
1ff1537329 Adjust setting to better make logic clearer 2016-12-08 11:32:26 -05:00
Dagobert Michelsen
474df33ff3 Correctly report "changed: false" when trying to install a package not in the catalog. This fixes #230 2016-12-08 11:32:26 -05:00
Jeppe Toustrup
0ea2cf77dd NPM: Expand the path before accessing it 2016-12-08 11:32:26 -05:00