Commit graph

2527 commits

Author SHA1 Message Date
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
Lorin Hochstein
703d50212a Fix typo: alises -> aliases 2013-08-08 10:14:08 -04: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
Balazs Pocze
cb9a6a9c2c EXAMPLES section added 2013-08-08 11:28:26 +02:00
Balazs Pocze
1a108a227e Changes made in documentation (EXAMPLES section added)
Minor identation fixes
2013-08-08 00:10:06 +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
Lorin Hochstein
1fd7eca5fb Add AWS EC2 elastic IP module
Adds a new AWS EC2 module to associate/disassociate instances and
elastic IP addresses.
2013-08-07 15:41:16 -04: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
Michael DeHaan
35c58b5fc2 Merge pull request #3772 from lorin/s3-docpatch
Minor doc update to s3 & ec2 modules
2013-08-06 13:30:20 -07:00
Michael DeHaan
42eda799c8 Merge pull request #3709 from lwade/devel
S3folder
2013-08-06 13:01:43 -07:00
Michael DeHaan
e892450031 add version_added attribute to module docs. 2013-08-06 15:54:20 -04:00
Michael DeHaan
0b7d60f351 Merge pull request #3741 from podollb/feature_ec2_vol
adding param to the ec2_vol module allowing custom iops setting when creating EBS volume
2013-08-06 12:53:35 -07:00
Lorin Hochstein
2281cb66a3 Minor doc update to s3 & ec2 modules
Adds some additional docs about the module parameters for s3
and ec2 modules.
2013-08-06 12:23:25 -04:00
Michael DeHaan
f0763558ad Fixup docs formatting. 2013-08-06 10:53:56 -04:00
didiercrunch
7f2ae3f375 Update supervisorctl
Fixed the example.
2013-08-06 09:06:28 -04:00
Jesse Keating
e4a83767a8 Update rax to sync with rax_clb_nodes
Both modules dealing with rax resources should use the same arguments
and environmental variables. The author of rax_clb_nodes did some things
better so sync rax with that effort.
2013-08-05 15:53:02 -07:00
Alan Grosskurth
d91e6e06e4 apt: Run remove commands noninteractively
I'm seeing ansible hang when trying to remove a package, and the hung
process is `whiptail` like in #2763. It looks like we only use
`APT_ENVVARS` and `DPKG_OPTIONS` for the `apt` commands in install()
and upgrade(). This change uses them in remove() as well, which fixes
the hang.
2013-08-05 15:20:45 -07:00