Commit graph

2283 commits

Author SHA1 Message Date
sjahl
39b0122d37 setting 0644 permissions on mkstemp file handles. Fixes issue #3857 2013-08-18 11:03:43 -04:00
Mark Harrison
2971215fd6 Merge branch 'pacman_local' into pacman_local_plus_check
Conflicts:
	library/packaging/pacman
2013-08-17 17:56:33 -04:00
Mark Harrison
832dd5e330 Support check mode with pacman module 2013-08-17 17:44:41 -04:00
Mark Harrison
3a702b100e Allow installation of local packages with pacman 2013-08-17 14:46:16 -04:00
Michael Scherer
df682d1cda Allow to use '*test*' in enablerepo for yum action
Yum commandline permit to use a wildcard to enable and disable
repositories in the --enablerepo switch, permitting to enable
a complete set of repository at once ( like all rpmfusion, all
update-testing, etc ).

However, this doesn't work in yum due to more stringent checks
that verify that a exact match is given for the name of the
repository , see commit 5c26805.

This commit enhance the check by permitting to test more than
1 repository at a time, thus permitting to use wildcards.
2013-08-17 18:43:53 +02:00
Michael Scherer
ee6477a9b0 image_id is not required to delete a vm from openstack
Since deletion do not check the type of image or anything,
and since that's tedious to keep track of the image_id and
just adding noise to add image_id for nothing, this commit
just relax the requirement.
2013-08-17 17:56:19 +02:00
Michael DeHaan
9b1069c40a Removing synchronize momentarily as it looks like this won't make 1.3 dates 2013-08-16 15:22:39 -04:00
Brian Coca
a3a833cb82 now missing dep gives nicer error and docs disambiguate as several libs
out there have same name.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-08-15 21:26:35 -04:00
Darragh O'Reilly
986aebb284 quantum_network should not default network provider type to local
It should allow the Quantum service to decide based on its configuration.
2013-08-15 19:51:22 +01:00
Matt Hite
1cafc8542a Automatically prepend partition if non-fully qualified monitors are passed 2013-08-13 22:00:49 -07:00
Matt Hite
4e9880b8f2 Documentation fixes and enhancements 2013-08-13 20:59:49 -07:00
James Cammarata
a32f1cac8d Cleaning up of apt_repository module and removing wget parts 2013-08-13 16:11:03 -05:00
Michael Vogt
d036723661 use either pycurl or wget to download from launchpad, also improve error message if neither is installed 2013-08-13 14:39:47 -05:00
Michael Vogt
b69e7c92e7 use pycurl instead of urllib2 when talking to launchpad to actually get SSL cert verification, see https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/915210 or CVE-2011-4407 for a previous similar issue in software-properties 2013-08-13 14:39:47 -05:00
James Cammarata
1bb4c9ab25 Cleaning up some pep8 whitespace issues in mongodb_user 2013-08-13 13:00:37 -05:00
lwade
649bc49d97 Basic module to tag resources in EC2. 2013-08-13 12:55:06 -05:00
James Cammarata
ae962bf645 Reverting version_added field in the apt_repository module 2013-08-13 09:53:49 -05:00
Alexander Saltanov
aed1f4156e Replacement for apt_repository.
1. Debian Squeeze is supported out of box now.
2. Repository type "deb" or "deb-src" should be explicitly specified.
3. If a source had beed added it must be possible to remove it.
4. PPA can be only used against Ubuntu hosts.
2013-08-13 09:53:49 -05:00
asmajlovic
686a6f5557 Comparison data type mismatch corrected 2013-08-13 09:28:53 -05:00
James Cammarata
97a42d58fe Fixing up a small issue with the mongodb_user docs 2013-08-13 09:05:19 -05:00
Ben Podoll
3a351d0599 adding fixes to support older versions of mongo (and pymongo) as well as new versions 2013-08-13 00:23:58 -05:00
Ben Podoll
1de933aee3 adding comment about required version of mongodb to use the roles param 2013-08-12 21:25:21 -05:00
Ben Podoll
8fc19eb4fa adding the ability to specify roles when adding/modifying a mongo user 2013-08-12 15:03:31 -05:00
Ben Podoll
5c3addac8d fixing problem causing docs not to build 2013-08-12 12:17:34 -05:00
Ben Podoll
29f41cf273 adding a little more info to the 'path' param so it's clear there are aliases (which are used in other examples) to avoid confusion 2013-08-12 11:45:32 -05:00
James Cammarata
93a9b1c5c6 Fail apt package install when nothing is matched by the fnmatch pattern
Related to PR #3823
2013-08-12 11:26:31 -05:00
Michael Vogt
2503c36c6a add support for fnmatch() style apt filenames
You can write a apt action like "- apt: pkg=apt*" with this package.
2013-08-12 16:11:15 +02:00
Mark Mandel
0f011c3c58 expand user home path in stat. 2013-08-12 17:34:54 +10:00
Michael DeHaan
b5696d674e Merge pull request #3821 from danxshap/django_venv_expand_user
Use home path expansion for virtualenv param in django_manage module
2013-08-11 17:53:01 -07:00
danxshap
b8a43a37f0 use home path expansion for virtualenv param in django_manage module 2013-08-11 14:02:13 -07:00
Michael DeHaan
5dfb9479dc Merge pull request #3763 from j2sol/rax-updates
Update rax to sync with rax_clb_nodes
2013-08-11 13:37:25 -07:00
Michael DeHaan
a5a823e172 Merge branch 'rsynctake2' into devel
Conflicts:
	CHANGELOG.md
2013-08-11 16:22:36 -04:00
Michael DeHaan
fad21a4af0 Add missing version_added to docs. 2013-08-11 16:21:00 -04:00
Michael DeHaan
0604a797b3 Merge pull request #3784 from drewblas/devel
Added git disclaimer about dealing with ssh host checking
2013-08-11 12:50:48 -07:00
Michael DeHaan
913df4cef2 Merge pull request #3815 from amenonsen/typos
Fix some typos discovered during casual reading
2013-08-11 08:45:00 -07:00
Abhijit Menon-Sen
a37e232cb1 Fix some typos discovered during casual reading 2013-08-11 18:41:23 +05:30
Dan Robinson
80c8a0bfd6 Brings postgresql_db examples in line with documentation.
As of now, the documentation lists a parameter as "name",
whereas the examples use a parameter called "db". This brings
them in line.
2013-08-11 00:41:23 -07:00
Michael DeHaan
24f72b78db Style/docs cleanup, and also improve an error message. 2013-08-10 18:58:45 -04:00
Michael DeHaan
2ecfa1669b Merge branch 'ansible-rsync-take2' of git://github.com/tima/ansible into rsynctake2 2013-08-10 18:31:45 -04:00
Michael DeHaan
003c86e250 Merge branch 'fix_service_with_initscript' of git://github.com/psvo/ansible into devel 2013-08-10 18:05:35 -04:00
Michael DeHaan
529e78be01 Smite tabs in whitespace. 2013-08-10 17:58:03 -04:00
Timothy Appnel
a0936221d7 Fixed identity key logic. 2013-08-09 21:24:47 -04:00
Timothy Appnel
c1e778cfb0 Introduced ansible-rsync to core. 2013-08-09 21:24:46 -04:00
Matt Hite
4ca5e7b01d Fix to better handle concurrent runs of module against same pool 2013-08-09 15:50:44 -07:00
Michael Scherer
509d1c5381 Fix traceback when openstack do not have OS-EXT-IPS:type attached to address
failed: [127.0.0.1] => {"failed": true, "parsed": false}
    invalid output was: Traceback (most recent call last):
      File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 1176, in <module>
        main()
      File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 239, in main
        _get_server_state(module, nova)
      File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 198, in _get_server_state
        private = [ x['addr'] for x in getattr(server, 'addresses').itervalues().next() if x['OS-EXT-IPS:type'] == 'fixed']
    KeyError: 'OS-EXT-IPS:type'

This extension was added less than 6 month ago, and so cannot be used on a release
older than Grizzly ( like Folsom ).

Commit of the extension : https://review.openstack.org/#/c/21453/

See https://wiki.openstack.org/wiki/ReleaseNotes/Grizzly#Key_New_Features_2
2013-08-09 23:26:12 +02:00
Andy Wilson
85e34cc107 docfix: grammar in docstring for sysctl module 2013-08-08 12:23:30 -05:00
Petr Svoboda
48b064b55b Fix traceback in service module when svc_cmd is None
When service module is used on unsupported Linux system where init
script is used directly, LinuxService.svc_cmd is None so .endswith()
fails.

Fixes issue #3533
2013-08-08 14:24:20 +02:00
Drew Blas
d912de2dff Added git disclaimer about dealing with ssh host checking
This disclaimer already exists in library/source_control/hg but not here.  It affects both and was discussed awhile back on: https://groups.google.com/forum/#!msg/ansible-project/q9G9xIdsRxo/XJhQzuS-qSoJ  However no PR was ever sent to fix the doc.
2013-08-07 15:33:29 -05:00
Matt Hite
09e0e973d3 Enhancements to provide pool creation and attributes 2013-08-07 10:39:54 -07:00
Michael DeHaan
5140826fa9 Merge pull request #3762 from grosskur/fix-apt-noninteractive
apt: Run remove commands noninteractively
2013-08-06 13:41:07 -07:00