Commit graph

5636 commits

Author SHA1 Message Date
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
Kevin Carter
2f188600a8 Added overlayfs backend type to the lxc_container module
This commit adds the overlayfs type to the lxc_container module. In
Adding the overlayfs type the commit adds the ability to clone a
container. While cloning is not locked down to only the overlayfs
container backend it is of particular interest when using the overlayfs
backend as it provides for amazingly fast snapshots.

Changes to the resource types and documentation have been added on how
the new backend type can be used along with the clone operation.

This PR addresses a question asked on the original merged pull request
for overlayfs support which came from @fghaas on PR
"https://github.com/ansible/ansible-modules-extras/pull/123".

The overlayfs archive function is a first class function and will
allow for the containers to be backed-up using all methods which
brings support up to that of all other storage backends.
2015-03-23 19:31:03 -05: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
Steve Gargan
a8584ade95 fix logic that tests for change in an existing registered service 2015-03-03 14:18:56 +00: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
Steve Gargan
0d7647d904 remove debug imports from acl module 2015-02-28 15:23:23 +00: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