Commit graph

5544 commits

Author SHA1 Message Date
Brian Coca
f15328d6f6 Merge pull request #89 from chrisisbeef/devel
Introduce a download_artifact plugin to resolve maven artifacts
2015-03-25 23:50:49 -04:00
Brian Coca
3f247e2d78 Merge pull request #313 from DavidWittman/12-alternatives-fixes
Fix multiple issues with alternatives module
2015-03-25 23:46:32 -04:00
Brian Coca
09fc1eefe5 Merge pull request #114 from rndmh3ro/patch-1
Added documentation and example for port ranges.
2015-03-25 23:41:05 -04:00
Brian Coca
39cb571064 Merge pull request #94 from komuta/clean-composer-options
Unify composer options parsing
2015-03-25 23:30:43 -04:00
Brian Coca
8e1024ff30 updated pushover version added 2015-03-25 23:15:37 -04:00
Brian Coca
6dc9f4bdba Merge pull request #78 from weaselkeeper/devel
Pushover notification module
2015-03-25 23:12:36 -04:00
Brian Coca
671317e0e1 added version added to new color option 2015-03-25 23:07:45 -04:00
Phillip Holmes
d7030e9604 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
2015-03-25 23:06:50 -04:00
Brian Coca
ed3b97074f Merge pull request #332 from AdmiralNemo/lvol-no-prompt
system/lvol: Suppress prompts from lvcreate
2015-03-25 22:51:19 -04:00
Brian Coca
2652d5daf6 Merge pull request #329 from uxp/patch-1
Fix typo in hipchat notification failure message.
2015-03-25 22:17:53 -04:00
Brian Coca
98683ebb18 Merge pull request #330 from bhcopeland/devel
Added example block for the "SMTP username and password"
2015-03-25 22:17:19 -04:00
Brian Coca
5293f452b5 corrected version added 2015-03-25 22:04:44 -04:00
Brian Coca
4bf87a0ab5 corrected 'version added' 2015-03-25 22:00:07 -04:00
Brian Coca
fe840ea8e6 Merge pull request #172 from dareko/devel
New modules for the HP Vertica Analytics Database
2015-03-25 21:46:20 -04:00
Brian Coca
eef2a95f96 Merge pull request #334 from msabramo/bigip_disable_ssl_cert_verification
Add `verify` param; set false to ignore SSL cert
2015-03-25 21:46:11 -04:00
Brian Coca
cf9a243cd7 added missing __init__.py 2015-03-25 17:28:37 -04:00
Dariusz Owczarek
09dfd42d50 new vertica modules 2015-03-25 20:04:27 +01:00
Marc Abramowitz
513724c0a5 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
2015-03-23 23:54:48 -07:00
Dustin C. Hatch
f8d04bec1b 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>
2015-03-22 22:16:37 -05:00
Sébastien Gross
08702e44bf [patch] Update documentation for src parameter. 2015-03-20 17:36:33 +01:00
Sébastien Gross
84eb895a06 [patch] Make sure the absolute patch file is passed to the patch command.
According the patch(1) manpage:
The --directory option change to the directory dir immediately, before
doing anything else.

Thus if file is not relative to dir and making file absolute ensure that
patch will find it.
2015-03-20 17:19:15 +01:00
Sébastien Gross
b68c136010 [patch] Make sure patch command is found on remote system. 2015-03-20 17:17:16 +01:00
Ben Copeland
b01c2cee66 Added example block for the "SMTP username and password" 2015-03-20 11:11:43 +00:00
HPLogsdon
c622c54e9e Fix typo in hipchat notification failure message.
Wish it could be more substantial, but alas, it's just a typo in a string.
2015-03-19 17:11:42 -06:00
Kevin Carter
24cfcd2497 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.
2015-03-18 23:33:33 -05:00
Toshio Kuratomi
cb848fcd9e Make our regex match the homebrew tap upstream regex.
Fixes #312
Fixes #297
2015-03-18 20:23:05 -07:00
Steve Gargan
b553f59a54 Properly report exception causes particularly connection exceptions contacting the consul agent 2015-03-16 16:50:53 +00:00
David Wittman
34e7d9c938 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
2015-03-13 23:16:44 -05:00
Brian Coca
696bc60caa fixed doc issue (missing description and corrected version added) 2015-03-12 10:24:36 -04:00
Toshio Kuratomi
8baba98ebe 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.
2015-03-11 11:07:33 -07:00
Brian Coca
9b5d565a79 Merge pull request #307 from nailgun/patch-1
gluster_volume: fixes, new "force" option
2015-03-11 10:25:11 -04:00
Dmitry Bashkatov
19d51a51db gluster_volume: remove redundant code 2015-03-11 17:22:38 +03:00
Dmitry Bashkatov
26c2080dcf gluster_volume: use force option during add-brick 2015-03-11 16:40:22 +03:00
Dmitry Bashkatov
c6448660a3 gluster_volume: fixes, new "force" option 2015-03-11 10:54:13 +03:00
Brian Coca
21ba3b3fa6 Merge pull request #42 from bhcopeland/devel
adding username/password support along with ssl/starttls to mail
2015-03-10 17:59:33 -04:00
Brian Coca
016a778778 Merge pull request #298 from L2G/smartos-pkgin
pkgin: added check mode support, laid some groundwork for future `state=latest' support
2015-03-10 16:06:12 -04:00
Larry Gilbert
3425828795 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"
2015-03-10 11:12:38 -07:00
Brian Coca
b8b21d37f0 added installation info .. that you don't need to 2015-03-10 10:36:00 -04:00
Brian Coca
229e5ad80f Merge pull request #291 from beardymcbeards/devel
lldp - Ignore lines that do not have the key in them
2015-03-07 23:07:29 -05:00
Brian Coca
64989456e0 Merge pull request #300 from vortura/locale-fix
Make the state parameter for locale_gen non-mandatory with a default value.
2015-03-07 20:29:59 -05:00
Richard Gray
7c40201c3d 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.
2015-03-07 21:24:32 +13:00
Brian Coca
e60b2167f5 Merge pull request #31 from mcv21/devel
known_hosts: manage ssh known_hosts files with ansible.
2015-03-06 16:33:07 -05:00
Matthew Vernon
7a9e6aee90 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
2015-03-06 18:24:32 +00:00
Matthew Vernon
d821a39131 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
2015-03-06 18:24:32 +00:00
Brian Coca
41ddb689db Merge pull request #182 from misho-kr/devel
fix lvol module to properly query the size of logical volumes
2015-03-06 11:53:33 -05:00
Toshio Kuratomi
a5e0fc331d 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
2015-03-06 07:58:44 -08:00
Ben Copeland
57be6d7ac4 Catch the error for non-ssl SMTP 2015-03-05 13:27:49 +00:00
Toshio Kuratomi
46e316a20a Merge pull request #295 from jails/patch-1
composer: Fixes changed status
2015-03-03 13:45:26 -08:00
Simon JAILLET
f3c008ed5d 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.
2015-03-03 21:49:16 +01:00
Steve Gargan
0c6d426c40 require a valid duration suffix for interval and ttl values 2015-03-03 20:03:46 +00:00