Commit Graph

25080 Commits (f0dc00d21a4ac179d7f00fd20023b716ab688081)
 

Author SHA1 Message Date
Jim Richardson d7fcefac32 initial stab at pushover notification module 8 years ago
Brian Coca 8a785700c3 added version added to new color option 8 years ago
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
8 years ago
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>
8 years ago
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.
8 years ago
Ben Copeland 770bf6b35f Added example block for the "SMTP username and password" 8 years ago
Dariusz Owczarek 3d93d22e54 new vertica modules 8 years ago
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
8 years ago
Brian Coca bad5666c9e added missing __init__.py 8 years ago
Toshio Kuratomi 4ada937207 Make our regex match the homebrew tap upstream regex.
Fixes #312
Fixes #297
8 years ago
Brian Coca 1537c297b3 fixed doc issue (missing description and corrected version added) 8 years ago
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.
8 years ago
Dmitry Bashkatov 00c6f0b888 gluster_volume: remove redundant code 8 years ago
Dmitry Bashkatov e0b6586c41 gluster_volume: use force option during add-brick 8 years ago
Dmitry Bashkatov 561df9ce94 gluster_volume: fixes, new "force" option 8 years ago
Ben Copeland 85f159eda3 Catch the error for non-ssl SMTP 8 years ago
Ben Copeland cf941fc23a adding username/password support along with ssl/starttls 8 years ago
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"
8 years ago
Brian Coca a5d1d48e80 added installation info .. that you don't need to 8 years ago
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.
8 years ago
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.
8 years ago
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
8 years ago
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
8 years ago
Misho Krastev fcf8223dfe fix lvol module to properly query the size of logical volumes 8 years ago
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
8 years ago
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.
8 years ago
Benjamin Kluck 56ecf602dc svc: Add kill command (svc -k) 8 years ago
Toshio Kuratomi 88fea228dc Fix postgresql_ext documentation 8 years ago
Toshio Kuratomi d0ccafb6f5 Move other postgres module into the postgresql hierarchy 8 years ago
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
8 years ago
André Luiz dos Santos f569b512c9 Variable name typo 8 years ago
Brian Coca a7e20b4110 updated lxc-containter docs to reflect new name 8 years ago
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.
8 years ago
Alexander Gubin 80e2de0e5d lvol: Cast size(LogicalVolumeSize) to lower to fix the difference between lvs and lvcreate 8 years ago
Konstantin 4602ca7bf4 pkgutil.py syntax fix 8 years ago
Matt Hite d4b996203a Another potential fix for issue 109; now catches WebFault 8 years ago
Brian Coca ed8842be47 removed unused import json which breaks 2.4/simplejson compat 8 years ago
Dagobert Michelsen 1ff1537329 Adjust setting to better make logic clearer 8 years ago
Dagobert Michelsen 474df33ff3 Correctly report "changed: false" when trying to install a package not in the catalog. This fixes #230 8 years ago
Jeppe Toustrup 0ea2cf77dd NPM: Expand the path before accessing it 8 years ago
Sterfield 02587fba94 Missing import re
I don't even know how it magically worked, but the fact is the code was
correct, and ran OK without the import re.
8 years ago
Sterfield a674cb06e7 Now allow every type of locales + archlinux fix
The previous version of this code was supporting only locales using the
format "<language>_<territory>.<charset>". But all the locales that
doesn't have this format were not installable (such as "fr_FR" or
"fr_FR@euro").
Also, if an invalid locales was provided, the module kept sending a
"changed" status.

Now :
 * if the user provides an invalid locales, the module failed. Locales
   are verified using /etc/locale.gen or /usr/share/i18n/SUPPORTED if
   Ubuntu
 * Every types of valid locales are now supported.
 * The locale module was not working on Archlinux, as there's no space
   between the "#" and the locale. This is now supported. Credits goes
   to danderson189, this is his code.

This module was tested on debian jessie, ubuntu 14 LTS and last
Archlinux.
8 years ago
Brian Coca 1b10058475 changed to make name primary over user, as examples and keep consistent 8 years ago
Kevin Carter 798f89c2e5 Updated volume create methods for a more consistent process
The volume create methods were making an assumption on the unit
sizes being presented by the `vgdisplay` and the `lvdisplay`
commands. To correct the assumption the commands will now enforce
a unit size of "g" which will alway convert sives to gigabytes.
This was an issue brought up by @hughsaunders.
8 years ago
Kevin Carter e5b0c1ced5 Added new module to support LXC containers
The new module will allow users to control LXC containers from ansible.
The module was built for use in LXC >= 1.0 or greater and implements most
of what can be done using the various lxc clients with regards to running
containers. This first module is geared only at managing lxc containers.

The module provides:
  build containers
  destroy containers
  archive containers
  info from a single container
  start / stop / restart containers
  run commands within containers
  add/modify lxc config for a container
  supports backends including LVM
8 years ago
Brian Coca 5601a88d71 fixed missing , 8 years ago
SkaveRat 6ca4925618 Fix missing restart method
Script was missing the restart command
8 years ago
Brian Coca 4fb47d443b fixed logentries 8 years ago
Kai de Haan 36fa3ccf6c svc: Ensure python 2.5 compatibility
* eg. debian lenny
8 years ago
Marcus 21a03152dc Add support for mirror_only parameter to cpanm module 8 years ago