Commit graph

5395 commits

Author SHA1 Message Date
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
Brian Coca
405bb040f8 Merge pull request #285 from fuglu/devel
svc: Add kill command (svc -k)
2015-03-03 08:07:07 -05:00
Toshio Kuratomi
945da71ce4 Fix postgresql_ext documentation 2015-03-02 15:11:25 -08:00
Toshio Kuratomi
c0d8464246 Move other postgres module into the postgresql hierarchy 2015-03-02 15:08:55 -08:00
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
2015-03-02 15:06:36 -08:00
Brian Coca
525caf9bc4 Merge pull request #292 from andre-luiz-dos-santos/patch-1
Variable name typo
2015-03-02 09:26:28 -05:00
André Luiz dos Santos
7ef867c9cf Variable name typo 2015-02-28 00:07:47 -03:00
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.
2015-02-27 11:19:44 -06:00
Brian Coca
bb886a595d updated lxc-containter docs to reflect new name 2015-02-27 09:19:51 -05:00
Brian Coca
ca982cd4ee Merge pull request #290 from drybjed/rename-lxc-container
Rename 'lxc-container' module to 'lxc_container'
2015-02-27 09:16:32 -05:00
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.
2015-02-27 13:00:49 +01:00
Brian Coca
650d740a3a Merge pull request #196 from alxgu/lvol_fix_casesensitivity
Bugfix PR for lvol: Cast size(LogicalVolumeSize) to lower .
2015-02-26 08:46:07 -05:00
Benjamin Kluck
8a5297c535 svc: Add kill command (svc -k) 2015-02-25 18:24:18 +01:00
Brian Coca
a64564e63c Merge pull request #281 from clickfreak/patch-1
pkgutil.py syntax fix
2015-02-25 09:17:25 -05:00
Konstantin
bea9d26039 pkgutil.py syntax fix 2015-02-25 03:36:06 +03:00
Brian Coca
0ceb1a9709 Merge pull request #273 from mhite/bigip_facts_catch_WebFault
Another potential fix for issue 109; now catches WebFault
2015-02-23 10:05:39 -05:00
Matt Hite
a7e1f86b8b Another potential fix for issue 109; now catches WebFault 2015-02-21 11:29:35 -08:00
Brian Coca
c0fbdc3316 Merge pull request #267 from bcoca/netscaler_json_fix
removed unused import json which breaks 2.4/simplejson compat
2015-02-20 10:42:52 -05:00
Toshio Kuratomi
a988f712e0 Merge pull request #231 from dago/opencsw
Correctly report "changed: false" when trying to install a package not i...
2015-02-18 13:08:34 -08:00
Brian Coca
e250c00113 Merge pull request #270 from Tenzer/npm-path-handling
NPM: Expand the path before accessing it
2015-02-18 12:29:52 -05:00
chris.schmidt
8ba219ed78 Added check for "latest" in version field 2015-02-18 09:24:21 -07:00
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. 2015-02-18 09:22:57 -07:00
Jeppe Toustrup
a2d440ccea NPM: Expand the path before accessing it 2015-02-18 16:43:56 +01:00
Dagobert Michelsen
57c723fcd9 Adjust setting to better make logic clearer 2015-02-18 10:33:21 +01:00
Brian Coca
9f11d10135 Merge pull request #181 from sterfield/devel
Allow every type of locales + archlinux fix
2015-02-17 13:45:12 -05:00
Brian Coca
4109bfda49 removed unused import json which breaks 2.4/simplejson compat 2015-02-17 13:37:41 -05:00
Brian Coca
e196703ff3 Merge pull request #264 from bcoca/mongo_user_name
changed to make name primary over user
2015-02-16 12:28:21 -05:00
Brian Coca
648f381c0b Merge pull request #123 from cloudnull/devel
Added module to support managing LXC containers
2015-02-16 11:22:21 -05:00
Brian Coca
edadf46686 changed to make name primary over user, as examples and keep consistent 2015-02-16 10:00:31 -05:00
Brian Coca
2ffd7235e5 added version added 2015-02-13 08:20:12 -05:00
Brian Coca
a2138c4eea fixed missing , 2015-02-12 17:02:16 -05:00
Brian Coca
0221eba5ec Merge pull request #256 from SkaveRat/patch-restart
svc: Fix missing restart method
2015-02-12 16:31:20 -05:00
SkaveRat
8eabcdcbc6 Fix missing restart method
Script was missing the restart command
2015-02-12 22:22:31 +01:00
Brian Coca
312d59061c fixed logentries 2015-02-12 15:55:21 -05:00
Brian Coca
045a0b86cb Merge pull request #253 from SkaveRat/devel
svc: Ensure python 2.5 compatibility
2015-02-12 15:28:53 -05:00
Brian Coca
a16b9f5286 Merge pull request #68 from marcusramberg/add_mirror_only
Add support for mirror_only parameter to cpanm module
2015-02-12 15:17:41 -05:00
Kai de Haan
e4f57eae44 svc: Ensure python 2.5 compatibility
* eg. debian lenny
2015-02-12 20:46:20 +01:00
Marcus
c1e7abd8fd Add support for mirror_only parameter to cpanm module 2015-02-12 18:42:09 +01:00
Brian Coca
f353cde1c5 Merge pull request #250 from ansible/revert-247-zfs-list-snapshots
Revert "Add listsnapshots property to zfs"
2015-02-12 10:18:03 -05:00
Brian Coca
9219797bb5 Revert "Add listsnapshots property to zfs" 2015-02-12 10:17:56 -05:00
Brian Coca
f068f3abb3 Merge pull request #227 from mavit/pkg5
Add Solaris 11 package management
2015-02-11 18:21:02 -05:00
Brian Coca
8427ee7f4b Merge pull request #76 from jensdepuydt/postgresql_lang
added postgresql_lang.py
2015-02-11 17:42:53 -05:00
Brian Coca
5148a88e2c Merge pull request #88 from queeno/facter_should_return_puppet_custom_facts
Facter module should return custom facts
2015-02-11 17:32:57 -05:00
Brian Coca
83c051dfd5 Merge pull request #248 from bcoca/fix_alternatives
now properly checks that link is suplied before trying to use it
2015-02-11 17:32:00 -05:00