Commit Graph

24914 Commits (7890c129db48e5ae8e8515456fee86dd89edcc8c)
 

Author SHA1 Message Date
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
Brian Coca 01a30bf2b5 Revert "Add listsnapshots property to zfs" 8 years ago
Peter Oliver c90eba7dcf Add another example. 8 years ago
Peter Oliver 21a3fd5b20 Fix idempotency when removing packages.
If the package is already not present, then we have nothing to do.
8 years ago
Peter Oliver defdc7c44b Tweak documentation. 8 years ago
Peter Oliver 5c1c2c5c1a Try to fix up commas in version numbers. 8 years ago
Peter Oliver a300ec9d3b Add missing boilerplate. 8 years ago
Peter Oliver 1faee38eac Add Solaris 11 package management
- Module pkg5 handles installing and uninstalling packages.
- Module pkg5_publisher manages repository configuration.
8 years ago
Jens Depuydt 4a967e7a1c added postgresql_lang.py 8 years ago
Simon Aquino f9b85306f0 Facter module should return custom facts
The ansible facter module should also return puppet custom facts by
default.
8 years ago
Brian Coca f5a1196cc7 now properly checks that link is suplied before trying to use it should fix #46 8 years ago
Brian Coca f319bdbfa4 minor fixes to logentries 8 years ago
Ruben Van den Bossche 1943ee7311 Added support for --name and --type arguments when following a new log 8 years ago
Kelley Reynolds 3d686ef07d Add listsnapshots property to zfs 8 years ago
Brian Coca 834f71a4a6 daemontools module 8 years ago
Brian Coca 60459795b0 added version to patch and remote_src to allow for controlling if src is on master or target 8 years ago
Jakub Jirutka 8383c1c8d3 Add new module "patch" 8 years ago