1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

7874 commits

Author SHA1 Message Date
Michael Scherer
d66027ba7a return failed if a package couldn't be installed
For some reason, on my test mandriva, urpmi --force return 0
even when it cannot install a rpm. So we have to explicitely check
if the package was properly installed with a loop
2013-11-18 00:22:54 +01:00
Michael DeHaan
b7971a426c Merge pull request #4931 from mscherer/urpmi_fix
Various fix for the urpmi module
2013-11-17 08:37:53 -08:00
Michael Scherer
0d8b81cd95 optionally use rpm python module instead of calling a
external executable, to avoid the cost of forking.
Since python-rpm is not automatically present, we still fallback
on the slower rpm fork method.
2013-11-17 15:37:30 +01:00
Michael Scherer
9482815b71 Fix behavior of urpmi module where it always return "changed"
even when a package is already installed, since urpmi will
always return 0 wether it install or not.
2013-11-17 15:37:30 +01:00
Michael DeHaan
1e4609343d Merge pull request #4927 from intellectronica/intellectronica/docker-identify-private-repos-backport
Update cloud/docker: if the image name containes a repository, strip it.
2013-11-16 15:37:17 -08:00
Michael DeHaan
afe631fe4d Merge pull request #4928 from mscherer/fix_doc
fix various typos in the documentation
2013-11-16 15:35:37 -08:00
Michael Scherer
f290c2aec0 fix various typos in the documentation 2013-11-17 00:26:06 +01:00
Tom Berger
8a39e0a615 Update cloud/docker: if the image name containes a repository, strip it.
When using repositories other than the main one at docker.io, the image name contains the repo name (which itself contains ":" as a separator between domain and port). We don't really care about it here, so just get rid of it before looking at the image name.
2013-11-16 23:15:03 +02:00
Michael DeHaan
56e3d31253 Merge pull request #4904 from joemaller/npm-outdated-fix
update npm-module to handle new node.js output
2013-11-16 10:40:51 -08:00
Michael DeHaan
73c60121e9 Merge pull request #4925 from mscherer/fix_tests_if_ansible_installed
fix make tests to use the set of module from git checkout
2013-11-16 10:39:27 -08:00
jctanner
e0a3c7aed9 Merge pull request #4924 from sivel/rax-clb-remove-debug
Remove debug print statement from rax_clb
2013-11-16 06:57:42 -08:00
Michael Scherer
7a220e3b94 fix make tests to use the set of module from git checkout
If someone try to run the test suit with ansible already installed,
the mix between content in /usr/share and in the git checkout
can result in strange failure ( as I found out the hard way ). For example,
the test_copy module will call the action plugin for copy from git,
who will call the 'file' module from system, passing unsupported arguments
2013-11-16 12:45:24 +01:00
Matt Martz
1ef49405b3 Remove debug print statement 2013-11-15 19:52:10 -06:00
jctanner
7ebda819b5 Merge pull request #4919 from sivel/4577-rax-refactor
Refactor rax module. Fixes #4577
2013-11-15 12:20:13 -08:00
jctanner
59ef9c3bea Merge pull request #4918 from sivel/rax-facts
Add rax_facts module for retrieving facts about a Cloud Server
2013-11-15 12:13:37 -08:00
jctanner
c057fe2f5f Merge pull request #4861 from pmakowski/devel
urpmi module
2013-11-15 11:59:23 -08:00
James Tanner
876e503417 Fix docstring in bigip_monitor_tcp module 2013-11-15 14:44:53 -05:00
jctanner
f61babd0ee Merge pull request #4849 from zimbatm/notify_grove
Adds a grove notifier module
2013-11-15 11:15:08 -08:00
jctanner
45ad8237a6 Merge pull request #4832 from matze/add-zypper-repository
Add zypper_repository module
2013-11-15 11:13:50 -08:00
jctanner
ce080e0fb4 Merge pull request #4813 from sergevanginderachter/bigip_tcpmonitor
Introduce Big-IP F5 tcp monitor module
2013-11-15 11:10:52 -08:00
jctanner
dc5b952854 Merge pull request #4910 from matze/add-system-blacklist-module
Add system module to blacklist kernel modules
2013-11-15 11:06:05 -08:00
jctanner
912d43a37d Merge pull request #4913 from arkadijs/devel
Use pkgng glob (-g) feature to allow installation of packages by wildcard
2013-11-15 11:00:49 -08:00
jctanner
f90df824c3 Merge pull request #4914 from resmo/fix/module-host
host: bug fixes and improvments
2013-11-15 10:49:50 -08:00
Matt Martz
234a78673b Refactor rax module 2013-11-15 12:25:21 -06:00
Matt Martz
fa4e55d677 follow suit with the rax refactor and split out the slugify code 2013-11-15 12:00:32 -06:00
Rene Moser
b5580389f6 host: added test playbook 2013-11-15 18:35:45 +01:00
James Tanner
af0cdd464c Clean up erroneous lineinfile.orig file 2013-11-15 12:17:17 -05:00
Matt Martz
545aabaddc Add rax_facts module for retrieving facts about a Cloud Server 2013-11-15 11:12:48 -06:00
jctanner
de2f4cf04d Merge pull request #4912 from zehome/openbsd_pkg_flavourfix
OpenBSD packages can be installed using 'flavour'
2013-11-15 07:21:37 -08:00
James Tanner
2c33737bfa Fix docstring and remove redundant parameter value in portinstall module 2013-11-15 10:13:19 -05:00
jctanner
9f1f932921 Merge pull request #4908 from berenddeboer/portinstall
Support to install software on FreeBSD using portinstall.
2013-11-15 07:06:53 -08:00
Rene Moser
0c70e898cc host: fix bug, alias was not removed 2013-11-15 14:04:41 +01:00
Rene Moser
6da2d55007 host: removed unused self_has_aliases 2013-11-15 14:04:40 +01:00
Rene Moser
a61f46f4f0 host: skip lines beginning with new line 2013-11-15 14:04:40 +01:00
Rene Moser
ca5e5cfebc host: fix changed is not available on fail 2013-11-15 14:04:40 +01:00
Arkadi Shishlov
78f5c69a88 Use pkgng glob (-g) feature to allow installation of packages by wildcard.
Also solves the particular problem of installing packages that have multiple versions in the repo, but specifying the exact version would be troublesome:

$ pkg install -n dovecot
The following 2 packages will be installed:

	Installing dovecot: 1.2.17
	Reinstalling dovecot-2.2.6 (options changed)

$ pkg install -n dovecot-2.2.6
The following 1 packages will be installed:

	Reinstalling dovecot-2.2.6 (options changed)

$ pkg install -n -g dovecot-2*
The following 1 packages will be installed:

	Reinstalling dovecot-2.2.6 (options changed)
2013-11-15 13:28:14 +02:00
Laurent Coustet
12e7e3b2f6 OpenBSD packages can be installed using 'flavour'. Best example
is vim. It can be installed as vim--no_x11 or vim--gtk2.
2013-11-15 12:20:30 +01:00
Matthias Vogelgesang
e5ef5e29ec Add system module to blacklist kernel module 2013-11-15 10:34:55 +01:00
Berend de Boer
46b11774c1 Support to install software on FreeBSD using portinstall. 2013-11-15 19:49:04 +13:00
jctanner
009fdbf96a Merge pull request #4896 from mjschultz/aws-access-keys
Check for AWS keys using boto names
2013-11-14 12:59:07 -08:00
jctanner
b086b5571c Merge pull request #4888 from jarv/jarv/wait_for
Adding more wait conditions to the wait_for module
2013-11-14 12:52:00 -08:00
jctanner
04847191b4 Merge pull request #4879 from bcoca/unique_intersect
added unique and intersect filters for dealing with lists
2013-11-14 12:46:50 -08:00
jctanner
0f0a89b34e Merge pull request #4758 from alanfairless/group-host-var-dirs
Support organizing group and host variables across multiple files in a directory
2013-11-14 11:57:11 -08:00
James Tanner
dfe6c5d434 Fix copyright section in githooks module 2013-11-14 14:49:10 -05:00
James Tanner
4391cbfd91 Fix git bare test in el6 by adding origin to remote 2013-11-14 14:42:07 -05:00
jctanner
ad5012f930 Merge pull request #4691 from cg-soft/git-bare-ref-repo-support
Add support for bare git reference repos
2013-11-14 10:39:57 -08:00
James Tanner
303e996035 Quote docstring in githooks module 2013-11-14 13:20:17 -05:00
jctanner
ce20cf8488 Merge pull request #4731 from pcgentry/devel
new githooks module
2013-11-14 10:17:39 -08:00
jctanner
3a5e689b80 Merge pull request #4785 from Tinche/get_url/uri-content-disposition
Modified the get_url module to respect the content-disposition header if...
2013-11-14 10:02:15 -08:00
jctanner
189ec15bd5 Merge pull request #4706 from mvo5/bugfix/more-syntax-check
load tasks/vars includes in syntax-check mode as well
2013-11-14 09:46:54 -08:00