Commit Graph

5416 Commits (658e7300ad966c16c1440da498d945c7d15539c8)
 

Author SHA1 Message Date
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.
10 years ago
Sébastien Gross b68c136010 [patch] Make sure patch command is found on remote system. 10 years ago
Ben Copeland b01c2cee66 Added example block for the "SMTP username and password" 10 years ago
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.
10 years ago
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.
10 years ago
Toshio Kuratomi cb848fcd9e Make our regex match the homebrew tap upstream regex.
Fixes #312
Fixes #297
10 years ago
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
10 years ago
Brian Coca 696bc60caa fixed doc issue (missing description and corrected version added) 10 years ago
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.
10 years ago
Brian Coca 9b5d565a79 Merge pull request #307 from nailgun/patch-1
gluster_volume: fixes, new "force" option
10 years ago
Dmitry Bashkatov 19d51a51db gluster_volume: remove redundant code 10 years ago
Dmitry Bashkatov 26c2080dcf gluster_volume: use force option during add-brick 10 years ago
Dmitry Bashkatov c6448660a3 gluster_volume: fixes, new "force" option 10 years ago
Brian Coca 21ba3b3fa6 Merge pull request #42 from bhcopeland/devel
adding username/password support along with ssl/starttls to mail
10 years ago
Brian Coca 016a778778 Merge pull request #298 from L2G/smartos-pkgin
pkgin: added check mode support, laid some groundwork for future `state=latest' support
10 years ago
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"
10 years ago
Brian Coca b8b21d37f0 added installation info .. that you don't need to 10 years ago
Brian Coca 229e5ad80f Merge pull request #291 from beardymcbeards/devel
lldp - Ignore lines that do not have the key in them
10 years ago
Brian Coca 64989456e0 Merge pull request #300 from vortura/locale-fix
Make the state parameter for locale_gen non-mandatory with a default value.
10 years ago
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.
10 years ago
Brian Coca e60b2167f5 Merge pull request #31 from mcv21/devel
known_hosts: manage ssh known_hosts files with ansible.
10 years ago
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
10 years ago
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
10 years ago
Brian Coca 41ddb689db Merge pull request #182 from misho-kr/devel
fix lvol module to properly query the size of logical volumes
10 years ago
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
10 years ago
Ben Copeland 57be6d7ac4 Catch the error for non-ssl SMTP 10 years ago
Toshio Kuratomi 46e316a20a Merge pull request #295 from jails/patch-1
composer: Fixes changed status
10 years ago
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.
10 years ago
Brian Coca 405bb040f8 Merge pull request #285 from fuglu/devel
svc: Add kill command (svc -k)
10 years ago
Toshio Kuratomi 945da71ce4 Fix postgresql_ext documentation 10 years ago
Toshio Kuratomi c0d8464246 Move other postgres module into the postgresql hierarchy 10 years ago
Daniel Schep 4b574ba294 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
10 years ago
Brian Coca 525caf9bc4 Merge pull request #292 from andre-luiz-dos-santos/patch-1
Variable name typo
10 years ago
André Luiz dos Santos 7ef867c9cf Variable name typo 10 years ago
Chad Norgan 8c94dd8b47 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.
10 years ago
Brian Coca bb886a595d updated lxc-containter docs to reflect new name 10 years ago
Brian Coca ca982cd4ee Merge pull request #290 from drybjed/rename-lxc-container
Rename 'lxc-container' module to 'lxc_container'
10 years ago
Maciej Delmanowski 528e1a644c Rename 'lxc-container' module to 'lxc_container'
This is done to keep the convention of naming modules with underscores
instead of hypens.
10 years ago
Brian Coca 650d740a3a Merge pull request #196 from alxgu/lvol_fix_casesensitivity
Bugfix PR for lvol: Cast size(LogicalVolumeSize) to lower .
10 years ago
Benjamin Kluck 8a5297c535 svc: Add kill command (svc -k) 10 years ago
Brian Coca a64564e63c Merge pull request #281 from clickfreak/patch-1
pkgutil.py syntax fix
10 years ago
Konstantin bea9d26039 pkgutil.py syntax fix 10 years ago
Brian Coca 0ceb1a9709 Merge pull request #273 from mhite/bigip_facts_catch_WebFault
Another potential fix for issue 109; now catches WebFault
10 years ago
Matt Hite a7e1f86b8b Another potential fix for issue 109; now catches WebFault 10 years ago
Brian Coca c0fbdc3316 Merge pull request #267 from bcoca/netscaler_json_fix
removed unused import json which breaks 2.4/simplejson compat
10 years ago
Toshio Kuratomi a988f712e0 Merge pull request #231 from dago/opencsw
Correctly report "changed: false" when trying to install a package not i...
10 years ago
Brian Coca e250c00113 Merge pull request #270 from Tenzer/npm-path-handling
NPM: Expand the path before accessing it
10 years ago
chris.schmidt 8ba219ed78 Added check for "latest" in version field 10 years ago
chris.schmidt 4dfbafb339 Removed version check from main as it is checked in the download function. Having the check here was breaking "latest version" functionality. 10 years ago
Jeppe Toustrup a2d440ccea NPM: Expand the path before accessing it 10 years ago